From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/eventbridge/2020-04-01/api-docs.php | 39738 ++++++++++------------- 1 file changed, 17697 insertions(+), 22041 deletions(-) (limited to 'data/en_us/eventbridge/2020-04-01/api-docs.php') diff --git a/data/en_us/eventbridge/2020-04-01/api-docs.php b/data/en_us/eventbridge/2020-04-01/api-docs.php index 69083a4..8322879 100644 --- a/data/en_us/eventbridge/2020-04-01/api-docs.php +++ b/data/en_us/eventbridge/2020-04-01/api-docs.php @@ -1,540 +1,946 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'eventbridge', - 'version' => '2020-04-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'eventbridge', 'version' => '2020-04-01'], 'directories' => [ [ - 'id' => 99576, - 'title' => 'Event buses', + 'children' => ['CreateEventBus', 'DeleteEventBus', 'UpdateEventBus', 'GetEventBus', 'ListEventBuses'], 'type' => 'directory', - 'children' => [ - 'CreateEventBus', - 'DeleteEventBus', - 'UpdateEventBus', - 'GetEventBus', - 'ListEventBuses', - ], + 'title' => 'Event bus', ], [ - 'id' => 99587, - 'title' => 'Events', + 'children' => ['QueryEvent', 'QueryEventTraces', 'QueryTracedEventByEventId', 'QueryTracedEvents'], 'type' => 'directory', - 'children' => [ - 'QueryEvent', - 'QueryEventTraces', - 'QueryTracedEventByEventId', - 'QueryTracedEvents', - ], + 'title' => 'Event', ], [ - 'id' => 99600, - 'title' => 'Event sources', + 'children' => ['ListAliyunOfficialEventSources', 'ListUserDefinedEventSources', 'CreateEventSource', 'DeleteEventSource', 'UpdateEventSource'], 'type' => 'directory', - 'children' => [ - 'ListAliyunOfficialEventSources', - 'ListUserDefinedEventSources', - 'CreateEventSource', - 'DeleteEventSource', - 'UpdateEventSource', - ], + 'title' => 'Event source', ], [ - 'id' => 99582, - 'title' => 'Event targets', + 'children' => ['DeleteTargets', 'PutTargets'], 'type' => 'directory', - 'children' => [ - 'DeleteTargets', - 'PutTargets', - ], + 'title' => 'Event target', ], [ - 'id' => 99623, - 'title' => 'Event rules', + 'children' => ['UpdateRule'], 'type' => 'directory', - 'children' => [ - 'CreateRule', - 'DeleteRule', - 'DisableRule', - 'EnableRule', - 'UpdateRule', - 'GetRule', - 'ListRules', - ], + 'title' => 'Event rule', ], [ - 'id' => 99593, - 'title' => 'EventStreamings', + 'children' => ['ListEventStreamings', 'DeleteEventStreaming', 'PauseEventStreaming', 'StartEventStreaming', 'GetEventStreaming', 'UpdateEventStreaming', 'CreateEventStreaming'], 'type' => 'directory', - 'children' => [ - 'ListEventStreamings', - 'DeleteEventStreaming', - 'PauseEventStreaming', - 'StartEventStreaming', - 'GetEventStreaming', - 'UpdateEventStreaming', - 'CreateEventStreaming', - ], + 'title' => 'Event stream', ], [ - 'id' => 177345, - 'title' => 'API destinations', + 'children' => ['UpdateApiDestination', 'CreateApiDestination', 'DeleteApiDestination', 'GetApiDestination', 'ListApiDestinations'], 'type' => 'directory', - 'children' => [ - 'UpdateApiDestination', - 'CreateApiDestination', - 'CreateConnection', - 'DeleteApiDestination', - 'DeleteConnection', - 'GetApiDestination', - 'GetConnection', - 'ListApiDestinations', - 'ListConnections', - 'UpdateConnection', - ], + 'title' => 'API destination', ], [ - 'id' => 183370, - 'title' => 'Others', - 'type' => 'directory', 'children' => [ - 'CreateServiceLinkedRoleForProduct', - 'ListTargets', - 'TestEventPattern', - 'EventCenterQueryEvents', - 'CheckServiceLinkedRoleForProduct', - 'TestEventSourceConfig', - 'DiscoverEventSource', - 'UpdateEventStreamingBusinessOption', + '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' => 'Others', ], ], 'components' => [ 'schemas' => [ - 'SinkBaiLianParameters' => [ - 'visibility' => 'Public', + 'Agent' => [ 'type' => 'object', 'properties' => [ - 'Before' => [ - 'visibility' => 'Public', + 'Name' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Prompt' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Metadata' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Metadata'], + 'CreatedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + 'UpdatedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'AguiMessage' => [ + 'description' => 'The message in AGUI format.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The unique identifier of the message.', 'type' => 'string', 'title' => '', 'example' => 'msg_123456_a1b2c3d4'], + 'Role' => ['description' => 'The role of the message.', 'type' => 'string', 'title' => '', 'example' => 'assistant'], + 'Content' => ['description' => 'The text content of the message.', 'type' => 'string', 'title' => '', 'example' => '根据您的问题,我将查询过去7天的事件量...'], + 'Metadata' => [ + 'description' => 'The extension metadata.', 'type' => 'object', 'properties' => [ - 'Form' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Form', - ], - 'Value' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Value', - ], - 'Template' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Template', + 'Attachments' => [ + 'description' => 'The extension data.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the extension data.', 'type' => 'string', 'title' => '', 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order'], + 'Type' => ['description' => 'The type of the extension data.', 'type' => 'string', 'title' => '', 'example' => 'inner-resource/event-table'], + ], + 'title' => '', + 'example' => '', ], ], - 'backendName' => 'Before', - 'sensitive' => true, - ], - 'Context' => [ - 'visibility' => 'Public', - 'type' => 'any', - 'backendName' => 'Context', - 'sensitive' => true, - ], - 'ApplicationType' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'ApplicationType', + 'title' => '', + 'example' => '', ], - 'Op' => [ - 'visibility' => 'Public', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Form', - ], - 'Value' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Value', - ], - 'Template' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Template', + 'ToolCallId' => ['description' => 'The associated tool invocation ID.', 'type' => 'string', 'title' => '', 'example' => 'call_xxx'], + 'ToolCalls' => [ + 'description' => 'The tool invocation list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tool calling object.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The tool calling ID.', 'type' => 'string', 'title' => '', 'example' => 'call_xxx'], + 'Type' => ['description' => 'The tool calling type.', 'type' => 'string', 'title' => '', 'example' => 'function'], + 'Function' => [ + 'description' => 'The tool calling function.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the tool calling function.', 'type' => 'string', 'title' => '', 'example' => 'discoverMetadata'], + 'Arguments' => ['description' => 'The arguments of the tool calling function.', 'type' => 'string', 'title' => '', 'example' => '{}'], + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], - 'backendName' => 'Op', - 'sensitive' => true, + 'title' => '', + 'example' => '', ], - 'Partition' => [ - 'visibility' => 'Public', + 'Reasoning' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AskLumaLogEntry' => [ + 'description' => 'Semantic query log entry', + 'type' => 'object', + 'properties' => [ + 'MessageId' => ['description' => 'Message ID', 'type' => 'string', 'title' => '', 'example' => 'msg_xxx'], + 'ConversationId' => ['description' => 'Conversation ID', 'type' => 'string', 'title' => '', 'example' => 'conv_xxx'], + 'AgentName' => ['description' => 'Agent name', 'type' => 'string', 'title' => '', 'example' => 'my-agent'], + 'Question' => ['description' => 'Input question', 'type' => 'string', 'title' => '', 'example' => '帮我统计一下最近的订单数据。'], + 'Status' => ['description' => 'Execution status', 'type' => 'string', 'title' => '', 'example' => 'RUNNING, SUCCEEDED, FAILED, TIMEOUT'], + 'ClarificationNeeded' => ['description' => 'Whether clarification is needed', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ClarificationQuestion' => ['description' => 'Clarification question text', 'type' => 'string', 'title' => '', 'example' => '您指的是哪张表?'], + 'Content' => ['description' => 'Structured result body', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Content'], + 'IsError' => ['description' => 'Whether it is an error', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ErrorCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => 'ExecutionFailed'], + 'ErrorMessage' => ['description' => 'Error details', 'type' => 'string', 'title' => '', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'], + 'CreatedAt' => ['description' => 'Creation time (milliseconds)', 'type' => 'string', 'title' => '', 'example' => '1717200000000'], + 'DurationMs' => ['description' => 'Invocation duration (milliseconds)', 'type' => 'integer', 'title' => '', 'example' => '3200', 'format' => 'int64'], + 'Source' => ['description' => 'Log source', 'type' => 'string', 'title' => '', 'example' => 'MCP, CHAT'], + ], + 'title' => '', + 'example' => '', + ], + 'AskLumaResult' => [ + 'description' => 'AskLuma API response body', + 'type' => 'object', + 'properties' => [ + 'MessageId' => ['description' => 'Message identifier, used for PollAskResult polling', 'type' => 'string', 'title' => '', 'example' => 'msg_xxx'], + 'ConversationId' => ['description' => 'Conversation identifier, used for multi-turn follow-up questions', 'type' => 'string', 'title' => '', 'example' => 'conv_xxx'], + 'Status' => ['description' => 'Execution status', 'type' => 'string', 'title' => '', 'example' => 'RUNNING, SUCCEEDED, FAILED, TIMEOUT'], + 'Content' => ['description' => 'Structured result body', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Content'], + 'IsError' => ['description' => 'Whether it is an error. false = query succeeded or clarification (including empty result set); true = execution failed / timeout / rate limited / internal error', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ErrorCode' => ['description' => 'Error code', 'type' => 'string', 'title' => '', 'example' => 'ExecutionFailed, Timeout, RateLimited, InternalError, ConversationExpired'], + 'ErrorMessage' => ['description' => 'Error details', 'type' => 'string', 'title' => '', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx'], + 'StorageTruncated' => ['description' => 'Whether the result was truncated due to exceeding the storage limit. Only appears in large result set scenarios', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ClarificationNeeded' => ['description' => 'Whether clarification is needed', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ClarificationQuestion' => ['description' => 'Clarification question text', 'type' => 'string', 'title' => '', 'example' => '您指的是哪个数据库中的员工表?'], + 'Constraints' => ['description' => 'Query constraints', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Constraints'], + ], + 'title' => '', + 'example' => '', + ], + 'BaiLianAgentTransformParameters' => [ + 'title' => '百炼Agent Transform', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => ['title' => '应用ID', 'type' => 'string'], + 'Prompt' => [ + 'title' => '提示词', 'type' => 'object', 'properties' => [ - 'Form' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Form', - ], - 'Value' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Value', - ], - 'Template' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Template', - ], + 'Form' => ['title' => '模板Form', 'type' => 'string'], + 'Value' => ['title' => '模板Value', 'type' => 'string'], + 'Template' => ['title' => '模板Template', 'type' => 'string'], ], - 'backendName' => 'Partition', - 'sensitive' => true, - ], - 'Extend' => [ - 'visibility' => 'Public', - 'type' => 'any', - 'backendName' => 'Extend', - 'sensitive' => true, ], - 'WorkspaceId' => [ - 'visibility' => 'Public', + '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' => 'The unique identifier name of the data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + 'Type' => ['title' => '', 'description' => 'The type of the data catalog, such as RELATIONAL', 'type' => 'string', 'example' => 'RELATIONAL'], + 'Provider' => ['title' => '', 'description' => 'The data source provider. EventHouse is the built-in storage; MySQL/PostgreSQL/Elasticsearch are externally mounted', 'type' => 'string', 'example' => 'EventHouse'], + 'Comment' => ['title' => '', 'description' => 'The comment or description of the data catalog', 'type' => 'string', 'example' => '测试数据目录'], + 'Properties' => ['title' => '', 'description' => 'Extended properties (JSON object). The Elasticsearch type contains information such as IndexPattern', 'type' => 'object', 'example' => '{"IndexPattern":"my-index-*"}'], + 'ConnectionName' => ['title' => '', 'description' => 'The connection name associated with a mounted-type Catalog. Only has a value when Provider is MySQL/PostgreSQL/Elasticsearch', 'type' => 'string', 'example' => 'my_connection'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Column' => [ + 'description' => 'Column data.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Column name.', 'type' => 'string', 'title' => '', 'example' => 'index'], + 'Type' => [ + 'description' => 'Column type.', + 'enumValueTitles' => ['double' => 'double', 'json' => 'json', 'text' => 'text', 'bigint' => 'bigint', 'timestamp' => 'timestamp'], 'type' => 'string', - 'backendName' => 'WorkspaceId', + 'title' => '', + 'example' => 'text', ], - 'After' => [ - 'visibility' => 'Public', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Form', - ], - 'Value' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Value', - ], - 'Template' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Template', + 'Value' => ['description' => 'Column value.', 'type' => 'string', 'title' => '', 'example' => 'product_info'], + 'IsNull' => [ + 'description' => 'Whether the value is NULL. When true, it should be treated as NULL.', + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Constraints' => [ + 'description' => 'Query constraints', + 'type' => 'object', + 'properties' => [ + 'BeginTime' => ['description' => 'Start of the query time window (Unix milliseconds)', 'type' => 'integer', 'title' => '', 'example' => '1717200000000', 'format' => 'int64'], + 'EndTime' => ['description' => 'End of the query time window (Unix milliseconds)', 'type' => 'integer', 'title' => '', 'example' => '1717200000000', 'format' => 'int64'], + ], + 'title' => '', + 'example' => '', + ], + 'Content' => [ + 'description' => 'The agent-generated content.', + 'type' => 'object', + 'properties' => [ + 'TextAttachments' => [ + 'description' => 'The array of Markdown summaries generated by the LLM.', + 'type' => 'array', + 'items' => ['description' => 'The Markdown summary generated by the LLM.', 'type' => 'string', 'title' => '', 'example' => '"**top 5 城市**: 北京(120)..."'], + 'title' => '', + 'example' => '', + ], + 'QueryAttachments' => [ + 'description' => 'The array of executed queries and their query results.', + 'type' => 'array', + 'items' => ['description' => 'The query and its query results.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/QueryAttachment'], + 'title' => '', + 'example' => '', + ], + 'MessageAttachments' => [ + 'description' => 'This field is included only in records where Source is set to CHAT. The value is a list of messages in AGUI format.', + 'type' => 'array', + 'items' => ['description' => 'The list of messages in AGUI format.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/AguiMessage'], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Conversation' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Title' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'CreatedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + 'UpdatedAt' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + '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'], ], ], - 'backendName' => 'After', - 'sensitive' => true, ], - 'Offset' => [ - 'visibility' => 'Public', + ], + ], + 'EmbeddingTransformParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EmbeddingModel' => ['type' => 'string'], + 'ApiKey' => ['type' => 'string'], + 'EmbeddingData' => [ 'type' => 'object', 'properties' => [ - 'Form' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Form', - ], - 'Value' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Value', - ], - 'Template' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Template', - ], + 'Form' => ['type' => 'string'], + 'Value' => ['type' => 'string'], + 'Template' => ['type' => 'string'], ], - 'backendName' => 'Offset', - 'sensitive' => true, ], ], ], - 'SinkDataWorksTriggerParameters' => [ - 'visibility' => 'Public', + 'EventTableQueryHistogram' => [ 'type' => 'object', 'properties' => [ - 'Enable' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Enable', - ], + 'Count' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + 'From' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], + 'To' => ['type' => 'integer', 'description' => '', 'title' => '', 'example' => '', 'format' => 'int64'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'SourceMySQLParameters' => [ - 'visibility' => 'Public', + 'ExecutionResult' => [ + 'description' => 'Query execution result', 'type' => 'object', 'properties' => [ - 'IncludeSchemaChanges' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'IncludeSchemaChanges', - ], - 'User' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'User', - ], - 'VSwitchIds' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'VSwitchIds', - ], - 'SnapshotMode' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'SnapshotMode', - ], - 'SecurityGroupId' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'SecurityGroupId', - ], - 'Port' => [ - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'backendName' => 'Port', - ], - 'DatabaseName' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'DatabaseName', - ], - 'VpcId' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'VpcId', - ], - 'NetworkType' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'NetworkType', - ], - 'TableNames' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'TableNames', - ], - 'RegionId' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'RegionId', - ], - 'HostName' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'HostName', - ], - 'Password' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'backendName' => 'Password', - 'sensitive' => true, + 'Schema' => [ + 'description' => 'Schema information', + 'type' => 'array', + 'items' => ['description' => 'Column definition', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SchemaColumn'], + 'title' => '', + 'example' => '', ], + 'Rows' => ['description' => 'Two-dimensional array, one array per row', 'type' => 'string', 'title' => '', 'example' => '[["北京",120],["上海",98]] '], + 'RowCount' => ['description' => 'Number of rows returned this time', 'type' => 'integer', 'title' => '', 'example' => '2', 'format' => 'int32'], + 'TotalRows' => ['description' => 'Total number of rows that meet the criteria. Different from RowCount when IsTruncated=true', 'type' => 'integer', 'title' => '', 'example' => '2', 'format' => 'int32'], + 'IsTruncated' => ['description' => 'Whether truncated due to the maxRows limit', 'type' => 'boolean', 'title' => '', 'example' => 'false'], ], + 'title' => '', + 'example' => '', ], - ], - ], - 'apis' => [ - 'CreateEventBus' => [ - 'methods' => [ - 'post', - 'get', + 'Metadata' => [ + 'description' => 'Data associated with the agent', + 'type' => 'object', + 'properties' => [ + 'Attachments' => [ + 'description' => 'Associated data', + 'type' => 'array', + 'items' => [ + 'description' => 'Associated data object', + 'type' => 'object', + 'properties' => [ + 'MimeType' => ['description' => 'Data type', 'type' => 'string', 'title' => '', 'example' => 'inner-resource/event-table'], + 'Arn' => ['description' => 'ARN of the associated data', 'type' => 'string', 'title' => '', 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'schemes' => [ - 'http', - 'https', + 'Namespace' => [ + 'type' => 'object', + 'properties' => [ + 'Catalog' => ['title' => '', 'description' => 'The name of the data catalog to which the namespace belongs', 'type' => 'string', 'example' => 'my_catalog', 'required' => true], + 'Name' => ['title' => '', 'description' => 'The unique identifier name of the namespace', 'type' => 'string', 'example' => 'my_namespace'], + 'Comment' => ['title' => '', 'description' => 'The description information of the namespace', 'type' => 'string', 'example' => '测试命名空间'], + 'properties' => ['title' => '', 'description' => 'The extended properties of the namespace', 'type' => 'string', 'example' => '{"key":"value"}'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'security' => [ - [ - 'AK' => [], + 'QueryAskLumaLogResult' => [ + 'type' => 'object', + 'properties' => [ + 'Entries' => [ + 'type' => 'array', + 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/AskLumaLogEntry'], + 'description' => 'The log entries returned by the query.', + 'title' => '', + 'example' => '', + ], + 'LastKey' => ['description' => 'The token to use for retrieving the next page of results. If present, pass this value as the `LastKey` parameter in a subsequent request to fetch more data. This field is omitted when all results have been retrieved.', 'type' => 'string', 'title' => '', 'example' => ''], + 'HasMore' => ['description' => 'Specifies whether more results are available. The value is `true` if more results can be retrieved, and `false` otherwise.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], + 'description' => 'Contains the results of a log query.', + 'title' => '', + 'example' => '', ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '38582', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', + 'QueryAttachment' => [ + 'description' => 'Query and its execution result', + 'type' => 'object', + 'properties' => [ + 'Query' => ['description' => 'Query statement', 'type' => 'string', 'example' => '"SELECT city, COUNT(*) AS cnt FROM events GROUP BY city"', 'title' => ''], + 'Result' => ['description' => 'Query execution result', '$ref' => '#/components/schemas/ExecutionResult', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], - 'parameters' => [ - [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'Indicates whether the request is successful. The value true indicates that the request is successful.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - 'maxLength' => 127, - 'minLength' => 2, + 'Row' => [ + 'description' => 'Query result row.', + 'type' => 'object', + 'properties' => [ + 'Columns' => [ + 'description' => 'Column data for each row.', + 'type' => 'array', + 'items' => ['description' => 'Column data.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Column'], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the event bus.', - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - 'maxLength' => 255, - ], + 'title' => '', + 'example' => '', + ], + 'SchemaColumn' => [ + 'description' => 'Column definition', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Column name', 'type' => 'string', 'title' => '', 'example' => 'name'], + 'Type' => ['description' => 'Column type', 'type' => 'string', 'title' => '', 'example' => 'VARCHAR'], ], + 'title' => '', + 'example' => '', ], - 'responses' => [ - 200 => [ - 'schema' => [ + 'SinkAgentRunParameters' => [ + 'type' => 'object', + 'properties' => [ + 'AgentRuntimeName' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'EndpointName' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'RoleName' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'Body' => [ + 'title' => '', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.', - 'type' => 'string', - 'example' => 'The event bus [xxxx] not existed!', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A995F07C-E503-5881-9962-9CECA8566876', - ], - 'Data' => [ - 'description' => 'The returned data.', - 'type' => 'object', - 'properties' => [ - 'EventBusARN' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.', - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus ', - ], - ], - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.', - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. The value true indicates that the request is successful.', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Value' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], + 'Form' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'Template' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], ], + 'required' => false, + 'description' => '', + 'example' => '', ], + 'Timeout' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + 'SinkApiDestinationParameters' => [ + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'description' => 'The name of the API destination.', 'type' => 'string', 'example' => ''], + 'HeaderParameters' => [ + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Defines how the parameter\'s value is created. Use `CONSTANT` to specify a static string in the `value` field. Use `JSONPATH` to extract data from the event payload with a JSONPath expression in the `value` field. Use `TEMPLATE` to build the value from the `template` field.', 'type' => 'string', 'example' => ''], + 'Value' => ['title' => '', 'description' => 'The static value or JSONPath expression for the parameter. This field applies only when the `form` is set to `CONSTANT` or `JSONPATH`.', 'type' => 'string', 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template to use to build the parameter value. This field is used only when the `form` is set to `TEMPLATE`. You can use variables, such as `${event.id}`, in the template to reference event data.', 'type' => 'string', 'example' => ''], + ], + 'description' => 'The custom HTTP header parameters to add to the request, specified as key-value pairs.', + 'example' => '', + ], + 'BodyParameters' => [ + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Defines how the parameter\'s value is created. Use `CONSTANT` to specify a static string in the `value` field. Use `JSONPATH` to extract data from the event payload with a JSONPath expression in the `value` field. Use `TEMPLATE` to build the value from the `template` field.', 'type' => 'string', 'example' => ''], + 'Value' => ['title' => '', 'description' => 'The static value or JSONPath expression for the parameter. This field applies only when the `form` is set to `CONSTANT` or `JSONPATH`.', 'type' => 'string', 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template to use to build the parameter value. This field is used only when the `form` is set to `TEMPLATE`. You can use variables, such as `${event.id}`, in the template to reference event data.', 'type' => 'string', 'example' => ''], + ], + 'description' => 'The parameters for the HTTP request body, specified as key-value pairs.', + 'example' => '', + ], + 'QueryStringParameters' => [ + 'title' => '', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Defines how the parameter\'s value is created. Use `CONSTANT` to specify a static string in the `value` field. Use `JSONPATH` to extract data from the event payload with a JSONPath expression in the `value` field. Use `TEMPLATE` to build the value from the `template` field.', 'type' => 'string', 'example' => ''], + 'Value' => ['title' => '', 'description' => 'The static value or JSONPath expression for the parameter. This field applies only when the `form` is set to `CONSTANT` or `JSONPATH`.', 'type' => 'string', 'example' => ''], + 'Template' => ['description' => 'The template to use to build the parameter value. This field is used only when the `form` is set to `TEMPLATE`. You can use variables, such as `${event.id}`, in the template to reference event data.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The query string parameters to add to the endpoint URL, specified as key-value pairs.', + 'example' => '', ], + 'Timeout' => ['description' => 'The timeout for the API call, in seconds. If the endpoint does not respond within this period, the call fails. The valid range is 1 to 60.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int32'], ], + 'description' => 'Specifies the parameters for the API destination.', + 'example' => '', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"A995F07C-E503-5881-9962-9CECA8566876\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\\\t\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateEventBus', - 'summary' => 'Creates an event bus.', - 'description' => 'Creates an event bus.', - ], - 'DeleteEventBus' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'SinkBaiLianParameters' => [ + 'type' => 'object', + 'properties' => [ + 'WorkspaceId' => ['description' => 'The unique ID of the Model Studio workspace.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ApplicationType' => ['description' => 'The type of the Model Studio application to invoke.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Before' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Value' => ['description' => 'The source content for the value, as specified by the `Form` parameter. For example, if `Form` is `JSONPATH`, this value must be a JSONPath expression.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Template' => ['description' => 'The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The pre-processing logic to apply to an event before it is sent to the target.', + 'title' => '', + 'example' => '', + ], + 'After' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Value' => ['description' => 'The source content for the value, as specified by the `Form` parameter. For example, if `Form` is `JSONPATH`, this value must be a JSONPath expression.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Template' => ['description' => 'The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The post-processing logic that runs after the main operation completes.', + 'title' => '', + 'example' => '', + ], + 'Context' => ['description' => 'Context information for the application. The value must be a JSON object.', 'type' => 'any', 'title' => '', 'example' => ''], + 'Extend' => ['description' => 'Additional key-value pairs to pass to the target. The value must be a valid JSON object.', 'type' => 'any', 'title' => '', 'example' => ''], + 'Op' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Value' => ['description' => 'The source content for the value, as specified by the `Form` parameter. For example, if `Form` is `JSONPATH`, this value must be a JSONPath expression.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Template' => ['description' => 'The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The operation that the Model Studio application will perform.', + 'title' => '', + 'example' => '', + ], + 'Partition' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Value' => ['description' => 'The source content for the value, as specified by the `Form` parameter. For example, if `Form` is `JSONPATH`, this value must be a JSONPath expression.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Template' => ['description' => 'The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The partition key for the event. This key routes events to a specific partition in the target service, ensuring ordered processing.', + 'title' => '', + 'example' => '', + ], + 'Offset' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Value' => ['description' => 'The source content for the value, as specified by the `Form` parameter. For example, if `Form` is `JSONPATH`, this value must be a JSONPath expression.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Template' => ['description' => 'The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => 'The offset for reading events from a stream or queue, used for stateful processing.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Parameters for configuring a Model Studio event target.', + 'title' => '', + 'example' => '', ], - 'security' => [ - [ - 'AK' => [], + 'SinkDataWorksTriggerParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Enable' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '38578', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', + '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'], ], ], - 'parameters' => [ - [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', + 'SinkMQTTParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'ParentTopic' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SubTopic' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Payload' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Mqtt5UserProperty' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'responses' => [ - 200 => [ - 'schema' => [ + 'SinkOSSParameters' => [ + 'type' => 'object', + 'properties' => [ + 'BucketName' => ['type' => 'string', 'description' => '', 'backendName' => 'BucketName', 'title' => '', 'example' => ''], + 'RegionId' => ['type' => 'string', 'description' => '', 'backendName' => 'RegionId', 'title' => '', 'example' => ''], + 'Endpoint' => ['type' => 'string', 'description' => '', 'backendName' => 'Endpoint', 'title' => '', 'example' => ''], + 'RoleArn' => ['type' => 'string', 'description' => '', 'backendName' => 'RoleArn', 'title' => '', 'example' => ''], + 'RotateSizeBytes' => ['type' => 'string', 'description' => '', 'backendName' => 'RotateSizeBytes', 'title' => '', 'example' => ''], + 'RotateIntervalMs' => ['type' => 'string', 'description' => '', 'backendName' => 'RotateIntervalMs', 'title' => '', 'example' => ''], + 'PathFormat' => ['type' => 'string', 'description' => '', 'backendName' => 'PathFormat', 'title' => '', 'example' => ''], + 'CompressionType' => ['type' => 'string', 'description' => '', 'backendName' => 'CompressionType', 'title' => '', 'example' => ''], + 'TaskConcurrency' => ['type' => 'string', 'description' => '', 'backendName' => 'TaskConcurrency', 'title' => '', 'example' => ''], + 'TimeZone' => ['type' => 'string', 'description' => '', 'backendName' => 'TimeZone', 'title' => '', 'example' => ''], + 'SSLEnabled' => ['type' => 'boolean', 'description' => '', 'backendName' => 'SSLEnabled', 'title' => '', 'example' => ''], + 'ContentTransform' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C229E140-1A5C-5D55-8904-CFC5BA4CAA98', - ], - 'Data' => [ - 'type' => 'boolean', - ], - 'Code' => [ - 'description' => 'The response code. The code 200 indicates that the request was successful. Other codes indicate that the request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], ], 'description' => '', + 'backendName' => 'ContentTransform', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + 'SinkRabbitMQMetaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'description' => '', 'backendName' => 'InstanceType', 'title' => '', 'example' => ''], + 'InstanceId' => ['type' => 'string', 'description' => '', 'backendName' => 'InstanceId', 'title' => '', 'example' => ''], + 'Endpoint' => ['type' => 'string', 'description' => '', 'backendName' => 'Endpoint', 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'backendName' => 'VirtualHostName', 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'backendName' => 'Username', 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'backendName' => 'Password', 'sensitive' => true, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'backendName' => 'VpcId', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'backendName' => 'VSwitchIds', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'backendName' => 'SecurityGroupId', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'backendName' => 'NetworkType', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SinkRabbitMQMsgSyncParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'description' => '', 'backendName' => 'InstanceType', 'title' => '', 'example' => ''], + 'InstanceId' => ['type' => 'string', 'description' => '', 'backendName' => 'InstanceId', 'title' => '', 'example' => ''], + 'Endpoint' => ['type' => 'string', 'description' => '', 'backendName' => 'Endpoint', 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'backendName' => 'VirtualHostName', 'title' => '', 'example' => ''], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'backendName' => 'Body', + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'backendName' => 'MessageId', + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'backendName' => 'Properties', + 'title' => '', + 'example' => '', + ], + 'Exchange' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'backendName' => 'Exchange', + 'title' => '', + 'example' => '', + ], + 'RoutingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'backendName' => 'Form', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'backendName' => 'Value', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'backendName' => 'Template', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'backendName' => 'RoutingKey', + 'title' => '', + 'example' => '', ], + 'MaxHops' => ['type' => 'string', 'description' => '', 'backendName' => 'MaxHops', 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'backendName' => 'Username', 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'backendName' => 'Password', 'sensitive' => true, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'backendName' => 'VpcId', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'backendName' => 'VSwitchIds', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'backendName' => 'SecurityGroupId', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'backendName' => 'NetworkType', 'title' => '', 'example' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"C229E140-1A5C-5D55-8904-CFC5BA4CAA98\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteEventBus', - 'summary' => 'Deletes an event bus.', - 'description' => 'You can call this API operation to delete an event bus.'."\n", - ], - 'UpdateEventBus' => [ - 'summary' => 'Updates an event bus.', - 'methods' => [ - 'post', + 'SourceFeiShuDocsParameters' => [ + 'type' => 'object', + 'properties' => [ + 'AppId' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'AppSecret' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'KnowledgeSpaceName' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + 'LoadMode' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SourceMySQLParameters' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The ID of the region that contains the data source.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'RegionId'], + 'HostName' => ['description' => 'The hostname or IP address of the database server.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'HostName'], + 'User' => ['description' => 'The database username.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'User'], + 'Password' => ['description' => 'The password for the user.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'Password', 'sensitive' => true], + 'DatabaseName' => ['description' => 'The name of the database.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'DatabaseName'], + 'TableNames' => ['description' => 'The names of tables to synchronize. Separate multiple table names with a comma.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'TableNames'], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'NetworkType'], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'VpcId'], + 'VSwitchIds' => ['description' => 'The VSwitch IDs. Separate multiple IDs with a comma.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'VSwitchIds'], + 'SecurityGroupId' => ['description' => 'The ID of the security group.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'SecurityGroupId'], + 'Port' => ['description' => 'The database server port.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'Port'], + 'SnapshotMode' => ['description' => 'The snapshot mode.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'SnapshotMode'], + 'IncludeSchemaChanges' => ['description' => 'Indicates whether to include schema changes.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'IncludeSchemaChanges'], + ], + 'description' => 'The connection parameters for a MySQL data source.', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', + '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], + ], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'SourcePostgreSQLParameters' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'HostName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Port' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'User' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'DatabaseName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SchemaName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'TableNames' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SnapshotMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SourceRabbitMQMetaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'InstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Regex' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'MaxHops' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'OrderConsume' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'InnerNameSuffix' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SourceRabbitMQMsgSyncParameters' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'InstanceId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'OrderConsume' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'BodyDataType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'PrefetchCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Catalog' => ['title' => '', 'description' => 'The name of the data catalog to which the table belongs', 'type' => 'string', 'example' => 'my_catalog'], + 'Namespace' => ['title' => '', 'description' => 'The name of the namespace to which the table belongs', 'type' => 'string', 'example' => 'my_namespace'], + 'Name' => ['title' => '', 'description' => 'The unique identifier name of the event table', 'type' => 'string', 'example' => 'my_table'], + 'Comment' => ['title' => '', 'description' => 'Comment description of the table', 'type' => 'string', 'example' => '测试事件表'], + 'CreateTime' => ['title' => '', 'description' => 'The creation time of the table (Unix timestamp, in milliseconds)', 'type' => 'integer', 'example' => '1717948800000', 'format' => 'int64'], + 'UpdateTime' => ['title' => '', 'description' => 'The last update time of the table (Unix timestamp, in milliseconds)', 'type' => 'integer', 'example' => '1717948800000', 'format' => 'int64'], + 'RetentionPolicy' => [ + 'title' => '', + 'description' => 'Data retention policy. Includes the retention days for hot data and cold data', + 'type' => 'object', + 'properties' => [ + 'HotTTL' => ['title' => '', 'description' => 'Retention days for hot data, used for high-performance query storage', 'type' => 'integer', 'example' => '7', 'format' => 'int32'], + 'ColdTTL' => ['title' => '', 'description' => 'Retention days for cold data, used for low-cost archival storage', 'type' => 'integer', 'example' => '30', 'format' => 'int32'], + ], + 'example' => '', + ], + 'Columns' => [ + 'title' => '', + 'description' => 'The column definition list of the table. Each column contains Name (column name), Type (data type), and Comment (remarks)', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => 'id'], + 'Type' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => 'bigint'], + 'Comment' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => '主键ID'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '[{"Name":"id","Type":"bigint","Comment":"主键"}]', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + ], + ], + 'apis' => [ + 'AskLuma' => [ + 'summary' => 'Queries data using natural language.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -543,36 +949,35 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '38610', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eventTest', - 'maxLength' => 127, - 'minLength' => 2, - ], + 'name' => 'AgentName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The name of the agent.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'demo-luma-agent'], ], [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'maxLength' => 255, - ], + 'name' => 'Question', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The natural language question.', 'type' => 'string', 'required' => true, 'example' => '帮我统计一下最近的订单数据。'], + ], + [ + 'name' => 'ConversationId', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The conversation ID. This parameter is required for multi-turn conversations.', 'type' => 'string', 'required' => false, 'example' => 'conv_1474xxx32_593b9d08-9'], + ], + [ + 'name' => 'MaxRows', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The maximum number of rows to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], ], 'responses' => [ @@ -580,80 +985,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'The event bus [xxxx] not existed!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'f2099962-1628-45f1-9782-2bf6daad823f', - ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The request was successful.'."\n" - .'* Other codes: The request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message. This value is null if the request is successful.', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '97FB3BAE-XXXXXX-36435495B7EB', 'title' => ''], + 'Data' => ['description' => 'The response body.', '$ref' => '#/components/schemas/AskLumaResult', 'title' => '', 'example' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'AgentNotFound', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"f2099962-1628-45f1-9782-2bf6daad823f\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateEventBus', - 'description' => 'You can call this operation to update an event bus.'."\n", - ], - 'GetEventBus' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'Agent semantic query', + 'extraInfo' => '- This operation uses a long-polling model. The server holds each request for 20 to 30 seconds. If the task completes within the hold window, the response is returned directly with a status of SUCCEEDED or FAILED. If the task does not complete, the response returns RUNNING along with a MessageId. The client must then call PollAskResult to continue polling.'."\n" + .'- The total timeout is 300 seconds (measured on the server side). If the timeout is exceeded, the response returns Status=TIMEOUT.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:AskLuma', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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' => [ + 'summary' => 'Checks whether a service-linked role is authorized for an account.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38576', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38628', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX', 'FEATUREeventbridgeR7SE45', 'FEATUREeventbridgeS2QNZ9', 'FEATUREeventbridge6VIARK', 'FEATUREeventbridgeWAGKXS'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'EventBusName', + 'name' => 'ProductName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - ], + 'schema' => ['description' => 'The name of the service-linked role (SLR) for the cloud product.', 'type' => 'string', 'required' => false, 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', 'title' => ''], ], ], 'responses' => [ @@ -661,80 +1056,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'd5bfc188-4452-4ba7-b73a-a9005e522439', - ], + 'Message' => ['description' => 'The returned message. If the request is successful, \\`Success\\` is returned. If the request fails, an error message is returned.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****', 'title' => ''], 'Data' => [ - 'description' => 'The data returned.'."\n", + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'EventBusARN' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'MyEventBus', - ], - 'Description' => [ - 'description' => 'The description of the event bus.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp that indicates when the event bus was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1641781825000', - ], + 'StsRoleName' => ['description' => 'The name of the service-linked role.', 'type' => 'string', 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', 'title' => ''], + 'CheckPass' => ['description' => 'Indicates whether the service-linked role exists.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. The value Success indicates that the request was successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The status code. A value of \\`Success\\` indicates that the request is successful. For more information about other error codes, see Error codes.'."\n" + ."\n" + .'Success: The request is successful.'."\n" + ."\n" + .'Other codes indicate that the request failed. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. \\`true\\`: The request was successful. \\`false\\`: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d5bfc188-4452-4ba7-b73a-a9005e522439\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\",\\n \\"EventBusName\\": \\"MyEventBus\\",\\n \\"Description\\": \\"demo\\",\\n \\"CreateTimestamp\\": 1641781825000\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetEventBus', - 'summary' => 'Queries the detailed information about an event bus.', - 'description' => 'You can call this API operation to query the detailed information about an event bus.'."\n", - ], - 'ListEventBuses' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"StsRoleName\\": \\"AliyunServiceRoleForEventBridgeConnectVPC\\",\\n \\"CheckPass\\": true\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CheckServiceLinkedRoleForProduct', + 'description' => 'Checks for a service-linked role by name.', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eventbridge:CheckServiceLinkedRoleForProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'translator' => 'manual', + 'flowControl' => [ + 'flowControlList' => [], ], + ], + 'CreateAgent' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -743,197 +1120,179 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38647', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NamePrefix', - 'in' => 'query', - 'schema' => [ - 'description' => 'The prefix of the names of the event buses that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'My', - ], + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the agent.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'my-agent', 'title' => ''], ], [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return in a request. You can use this parameter and NextToken to implement paging.'."\n" - ."\n" - .'> A maximum of 100 entries can be returned in a request.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the event bus.', 'type' => 'string', 'required' => false, 'example' => '连接配置描述信息', 'title' => ''], ], [ - 'name' => 'NextToken', - 'in' => 'query', + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => ['description' => 'You are an IoT data analytics assistant...', 'type' => 'string', 'required' => false, 'example' => '我想要她,你这样增加请求头获取用户IP CF-Connecting-IP%3B', 'title' => ''], + ], + [ + 'name' => 'Metadata', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'If you configure Limit and excess return values exist, this parameter is returned. You can use this parameter and Limit to implement paging.'."\n", - 'type' => 'string', + 'description' => 'The associated metadata.', + 'type' => 'object', + 'properties' => [ + 'Attachments' => [ + 'description' => 'The array of attached metadata objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'The attached metadata object.', + 'type' => 'object', + 'properties' => [ + 'MimeType' => ['description' => 'The object type of the attached metadata.', 'type' => 'string', 'required' => false, 'example' => 'inner-resource/event-table', 'title' => ''], + 'Arn' => ['description' => 'The ARN of the attached metadata object.', 'type' => 'string', 'required' => false, 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-XXX/table/order', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => '10', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'InvalidArgument', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D1DCF64A-3F2C-5323-ADCB-3F4DF30FAD2D', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Agent with name \'XXX\' already exists for account 12345', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B896B484-XXXXXX-DD0E5C361108', 'title' => ''], 'Data' => [ - 'description' => 'The returned data.'."\n", + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'EventBuses' => [ - 'description' => 'The event buses.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventBusARN' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098***:eventbus/default', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'Description' => [ - 'description' => 'The description.'."\n", - 'type' => 'string', - 'example' => 'bus_description', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp that indicates when the event bus was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1607071602000', - ], - ], - ], - ], - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '10', - ], - 'Total' => [ - 'description' => 'The total number of entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'AgentArn' => ['description' => 'Agent ARN', 'type' => 'string', 'example' => 'acs:eventbridge:{region}:{accountId}:agent/{agentName} ', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The request was successful.'."\n" - .'* Other codes: The request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'- Success: The request was successful.'."\n" + ."\n" + .'- Other values: An error occurred. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: true: The request was successful. false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"D1DCF64A-3F2C-5323-ADCB-3F4DF30F****\\",\\n \\"Data\\": {\\n \\"EventBuses\\": [\\n {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"Description\\": \\"bus_description\\",\\n \\"CreateTimestamp\\": 1607071602000\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 2\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListEventBuses', - 'summary' => 'Queries all event buses.', - 'description' => 'You can call this API operation to query all event buses.'."\n", - ], - 'QueryEvent' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'Create a custom agent', + 'summary' => 'Creates a custom agent.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:CreateAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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' => [ + 'summary' => 'Creates an API destination.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38577', - 'abilityTreeNodes' => [ - 'FEATUREeventbridge6VIARK', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163676', + 'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'], ], 'parameters' => [ [ - 'name' => 'EventBusName', + 'name' => 'ApiDestinationName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demo', - ], + 'schema' => ['description' => 'The name of the API destination. The name must be 2 to 127 characters in length.', 'type' => 'string', 'required' => true, 'maxLength' => 127, 'minLength' => 2, 'example' => 'api-destination-name', 'title' => ''], ], [ - 'name' => 'EventId', + 'name' => 'ConnectionName', 'in' => 'query', - 'schema' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', - ], + 'schema' => ['description' => 'The name of the connection. The name must be 2 to 127 characters in length.'."\n" + ."\n" + .'> Before you configure this parameter, you must call the CreateConnection operation to create a connection. Then, set this parameter to the name of the connection that you created.', 'type' => 'string', 'required' => true, 'maxLength' => 127, 'minLength' => 2, 'example' => 'connection-name', 'title' => ''], ], [ - 'name' => 'EventSource', + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the API destination. The description can be up to 255 characters in length.', 'type' => 'string', 'example' => 'Description of the connection configuration', 'maxLength' => 255, 'required' => false, 'title' => ''], + ], + [ + 'name' => 'HttpApiParameters', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event source.'."\n" - ."\n" - .'* This parameter is required if you query the system event bus.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testEventSourceName', + 'description' => 'The parameters that are configured for the API destination.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the API destination. The endpoint can be up to 127 characters in length.', 'type' => 'string', 'required' => true, 'maxLength' => 511, 'example' => 'http://127.0.0.1:8001/api'."\n", 'title' => ''], + 'Method' => ['description' => 'The HTTP request method. Valid values:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH', 'type' => 'string', 'required' => true, 'example' => 'POST', 'title' => ''], + ], + 'required' => true, + 'title' => '', + 'example' => '', ], ], ], @@ -942,280 +1301,376 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', - ], - 'Data' => [ - 'description' => 'The content of the event.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB22****', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Date' => [ + 'description' => 'The data returned if the API destination is created.', 'type' => 'object', - ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'200: The request was successful.'."\n" - ."\n" - .'Other values indicate that the request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'properties' => [ + 'ApiDestinationName' => ['description' => 'The name of the API destination.', 'type' => 'string', 'example' => 'ApiDestinationName', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + 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' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'QueryEvent', - 'summary' => 'Queries the content of an event.', - 'description' => 'You can call this API operation to query the content of an event.'."\n", - 'responseParamsDescription' => 'HTTP/1.1 200 OK Server: AliyunEventBridge Connection: keep-alive Content-Type: application/json;charset=utf-8 Content-Length: 279 x-eventbridge-request-id: 5E9A9081333245F1D800\\*\\*\\*\\* Date: Sat, 18 Apr 2020 08:30:42 GMT'."\n" - ."\n" - .'{ "EventBusName": "simpleBus", "EventMap": { "a5074581-7e74-4e4c-868f-47e7afdf\\*\\*\\*\\*": "{"id":"a5074581-7e74-4e4c-868f-47e7afdf\\*\\*\\*\\*","source":"testSource","specversion":"1.0","type":"eventbridge:Events:HTTPEvent","datacontenttype":"application/json","subject":"acs:eventbridge:cn-zhangjiakou:123456789098\\*\\*\\*\\*:eventbus/testBus/eventsource/testSource","time":"2020-04-18T08:30:41.006+08:00","aliyunaccountid":"123456789098\\*\\*\\*\\*","aliyunpublishtime":"2020-04-18T08:30:13.061Z","aliyunoriginalaccountid":"123456789098\\*\\*\\*\\*","aliyuneventbusname":"simpleBus","aliyunregionid":"cn-hangzhou","aliyunpublishaddr":"10.120.*.*","data":{"content":"test"}" } }'."\n", - ], - 'QueryEventTraces' => [ - 'summary' => 'Queries event traces.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Date\\": {\\n \\"ApiDestinationName\\": \\"ApiDestinationName\\"\\n }\\n}","type":"json"}]', + 'title' => 'CreateApiDestination', + 'description' => 'You can call this API operation to create an API destination.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + '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}'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'CreateConnection' => [ + 'summary' => 'Creates a connection configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '38633', - 'abilityTreeNodes' => [ - 'FEATUREeventbridge6VIARK', - ], + 'abilityTreeCode' => '163691', + 'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'], ], 'parameters' => [ [ - 'name' => 'EventBusName', + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => ['description' => 'The connection configuration name. Maximum length: 127 characters. Minimum length: 2 characters.', 'type' => 'string', 'required' => true, 'maxLength' => 127, 'minLength' => 2, 'example' => 'connection-name', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the connection configuration. Maximum length: 255 characters.', 'type' => 'string', 'maxLength' => 255, 'required' => false, 'example' => 'demo', 'title' => ''], + ], + [ + 'name' => 'NetworkParameters', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', + 'description' => 'The network configuration.', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => ['description' => '- Public network: PublicNetwork'."\n" + ."\n" + .'- Virtual private cloud (VPC): PrivateNetwork'."\n" + ."\n" + .'>If you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.>', 'type' => 'string', 'required' => true, 'example' => 'PublicNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'eb-test/vpc-bp1symadadwnwg****', 'title' => ''], + 'VswitcheId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeq****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', 'title' => ''], + ], 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EventId', + 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'description' => 'The event ID.'."\n", + 'title' => '', + 'description' => 'The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, and Http. This parameter is required for data source connections. If this parameter is not specified, the default value Http is used. The Http type is used for HTTP protocol targets such as API Destination. Data source types are used for data connections in the integration marketplace.', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d'."\n", + 'required' => false, + 'example' => 'Http', + 'enum' => ['MySQL', 'Elasticsearch', 'PostgreSQL'], ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['title' => '', 'description' => 'The data source connection parameters (JSON object). This parameter is required when Type is set to a data source type. This parameter is not required for the Http type. For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.', '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' => 'The authentication configuration.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', + 'AuthorizationType' => ['description' => 'The authentication type:'."\n" + ."\n" + .'- BASIC: BASIC_AUTH. This authorization method is a basic authorization method implemented by browsers in compliance with the HTTP protocol. During HTTP communication, the HTTP protocol defines a basic authentication method that allows an HTTP server to authenticate clients. Add `Authorization: Basic Base64Encoded(username:password)` in the fixed format to the request header. Username and Password are required.'."\n" + ."\n" + .'- API KEY: API_KEY_AUTH. Add `Token: TokenValue` in the fixed format to the request header. ApiKeyName and ApiKeyValue are required.'."\n" + ."\n" + .'- OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. In a system that does not use an authorization mechanism such as OAuth 2.0, the client can directly access resources on the resource server. To ensure secure data access, an Access Token mechanism is added. The client must carry an Access Token to access protected resources. OAuth 2.0 prevents resources from being accessed by malicious clients, which improves system security. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.', 'type' => 'string', 'required' => false, 'example' => 'BASIC_AUTH', 'title' => ''], + 'ApiKeyAuthParameters' => [ + 'description' => 'The API key authentication configuration.', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => ['description' => 'The key name of the API key.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'Token', 'title' => ''], + 'ApiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'adkjnakddh****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF', + 'BasicAuthParameters' => [ + 'description' => 'The basic authentication configuration.', + 'type' => 'object', + 'properties' => [ + 'Password' => ['description' => 'The password for basic authentication.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => '*******', 'title' => ''], + 'Username' => ['description' => 'The username for basic authentication.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'admin', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Action' => [ - 'description' => 'The type of the event trace. Valid values: PutEvent, FilterEvent, and PushEvent. The value PutEvent indicates that the event was delivered. The value FilterEvent indicates that the event was filtered. The value PushEvent indicates that the event was pushed.'."\n", - 'type' => 'string', - 'example' => 'PutEvent', - ], - 'ReceivedTime' => [ - 'description' => 'The time when the event was delivered to the event bus. This parameter is returned only if Action is set to PutEvent.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659495343896', - ], - 'RuleMatchingTime' => [ - 'description' => 'The time when the event rule was matched. This parameter is returned only if Action is set to FilterEvent.'."\n", - 'type' => 'string', - 'example' => '1659495343896', - ], - 'ActionTime' => [ - 'description' => 'The execution time of the event trace.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659495343896', - ], - 'NotifyStatus' => [ - 'description' => 'The delivery status.'."\n", - 'type' => 'string', - 'example' => '[200]Ok', - ], - 'RuleName' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'example' => 'ramrolechange-mns', - ], - 'EventId' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'example' => 'a5747e4f-2af2-40b6-b262-d0140e995bf7', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target. This parameter is returned only if Action is set to PushEvent.'."\n", - 'type' => 'string', - 'example' => 'acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue', - ], - 'NotifyLatency' => [ - 'description' => 'The delay period for which the event was delivered to the event target. This parameter is returned only if Action is set to PushEvent.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'NotifyTime' => [ - 'description' => 'The time when the event was delivered to the event target. This parameter is returned only if Action is set to PushEvent.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659495343896', + 'OAuthParameters' => [ + 'description' => 'The OAuth authentication configuration.', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => ['description' => 'The authorization endpoint URL. Maximum length: 127 characters.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'http://localhost:8080/oauth/token', 'title' => ''], + 'ClientParameters' => [ + 'description' => 'The client parameter configuration.', + 'type' => 'object', + 'properties' => [ + 'ClientID' => ['description' => 'The client ID.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'ClientID', 'title' => ''], + 'ClientSecret' => ['description' => 'The client secret of the application.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4LY****', 'title' => ''], ], - 'EventSource' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'example' => 'cert-api', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HttpMethod' => ['description' => 'The HTTP method. Valid values:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', 'type' => 'string', 'required' => false, 'example' => 'POST', 'title' => ''], + 'OAuthHttpParameters' => [ + 'description' => 'The OAuth authentication request parameters.', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => 'The list of body request parameter configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The body request parameter configuration.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is a secret.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the body request parameter.', 'type' => 'string', 'required' => false, 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the body request parameter.', 'type' => 'string', 'required' => false, 'example' => 'keyValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HeaderParameters' => [ + 'description' => 'The list of header parameter configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The header parameter configuration.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is a secret.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the header parameter.', 'type' => 'string', 'required' => false, 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the header parameter.', 'type' => 'string', 'required' => false, 'example' => 'keyValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'QueryStringParameters' => [ + 'description' => 'The structure of the URI of the request path parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The structure of the URI of the request path parameter.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is a secret.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the URI of the request path parameter.', 'type' => 'string', 'required' => false, 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the URI of the request path parameter.', 'type' => 'string', 'required' => false, 'example' => 'valueDemo', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'200: The request was successful.'."\n" - ."\n" - .'Other codes: The request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****', 'title' => ''], + 'Message' => ['description' => 'The additional information. If the request is successful, success is returned. If the request fails, the specific error code is returned.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The API status or POP error code. Valid values: Success.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The returned result.', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => ['description' => 'The connection configuration name.', 'type' => 'string', 'example' => 'connection-demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + 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' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF\\",\\n \\"Data\\": [\\n {\\n \\"Action\\": \\"PutEvent\\",\\n \\"ReceivedTime\\": 1659495343896,\\n \\"RuleMatchingTime\\": \\"1659495343896\\",\\n \\"ActionTime\\": 1659495343896,\\n \\"NotifyStatus\\": \\"[200]Ok\\",\\n \\"RuleName\\": \\"ramrolechange-mns\\",\\n \\"EventId\\": \\"a5747e4f-2af2-40b6-b262-d0140e995bf7\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"Endpoint\\": \\"acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue\\",\\n \\"NotifyLatency\\": \\"80\\",\\n \\"NotifyTime\\": 1659495343896,\\n \\"EventSource\\": \\"cert-api\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'QueryEventTraces', - 'description' => 'You can call this API operation to query event traces.'."\n", - ], - 'QueryTracedEventByEventId' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'Create connection configuration', + 'description' => 'Creates a connection configuration.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConnection'], + ], ], - 'schemes' => [ - 'http', - 'https', + '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"}]', + 'translator' => 'machine', + ], + 'CreateEventBus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38615', - 'abilityTreeNodes' => [ - 'FEATUREeventbridge6VIARK', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], ], 'parameters' => [ [ 'name' => 'EventBusName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'demo', - ], - ], - [ - 'name' => 'EventSource', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'mse', - ], + 'schema' => ['description' => 'Indicates whether the request is successful. The value true indicates that the request is successful.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'maxLength' => 127, 'minLength' => 2, 'title' => ''], ], [ - 'name' => 'EventId', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', - ], + 'schema' => ['description' => 'The description of the event bus.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'maxLength' => 255, 'title' => ''], ], ], 'responses' => [ @@ -1223,336 +1678,446 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A5D7B9F4-BF96-51A9-90B1-928955FABB5B', - ], + 'Message' => ['description' => 'The returned error message.', 'type' => 'string', 'example' => 'The event bus [xxxx] not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A995F07C-E503-5881-9962-9CECA8566876', 'title' => ''], 'Data' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '1000', - ], - 'Events' => [ - 'description' => 'The events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventId' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'example' => '37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'default', - ], - 'EventReceivedTime' => [ - 'description' => 'The time when the event was delivered to the event bus.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661773573100', - ], - 'EventSource' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'example' => 'cert-api', - ], - 'EventType' => [ - 'description' => 'The event type.'."\n", - 'type' => 'string', - 'example' => 'eventbridge:Events:HTTPEvent', - ], - ], - ], - ], - 'Total' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - ], + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'EventBusARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus ', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'Success: The request was successful.'."\n" - ."\n" - .'Other codes: The request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. The value true indicates that the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"A5D7B9F4-BF96-51A9-90B1-928955FABB5B\\",\\n \\"Data\\": [\\n {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"cert-api\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 18\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'QueryTracedEventByEventId', - 'summary' => 'Queries event traces by event ID.', - 'description' => 'You can call this API operation to query event traces by event ID.'."\n", - ], - 'QueryTracedEvents' => [ - 'summary' => 'Queries event traces by time range.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"A995F07C-E503-5881-9962-9CECA8566876\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\\\t\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateEventBus', + 'summary' => 'Creates an event bus.', + 'description' => 'Creates an event bus.', + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-01T13:13:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => 'Request parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:CreateEventBus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + ], + 'CreateEventSource' => [ + 'summary' => 'Creates an external event source.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '38619', - 'abilityTreeNodes' => [ - 'FEATUREeventbridge6VIARK', - ], + 'abilityTreeCode' => '38588', + 'abilityTreeNodes' => ['FEATUREeventbridgeR7SE45'], ], 'parameters' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - ], + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the event source.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'myrabbitmq.sourc'], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query event traces. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1661773509000', - ], + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the event source.', 'type' => 'string', 'example' => 'RabbitMQ event source', 'required' => false, 'title' => ''], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range when event traces are queried. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'docRequired' => true, - 'example' => '1661773509000', - ], + 'name' => 'LinkedExternalSource', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to connect to an external data source.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'Limit', - 'in' => 'query', + 'name' => 'ExternalSourceType', + 'in' => 'formData', + 'schema' => ['description' => 'The type of the external data source.', 'type' => 'string', 'format' => 'byte', 'title' => '', 'required' => false, 'example' => 'RabbitMQ'], + ], + [ + 'name' => 'ExternalSourceConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['description' => 'The configuration of the external data source.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{\\"Schedule\\":\\"0 */10 * * * *\\",\\"TimeZone\\":\\"GMT+0:00\\"}'], + ], + [ + 'name' => 'EventBusName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the event bus associated with the event source.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'my-event-bus'], + ], + [ + 'name' => 'SourceMNSParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The maximum number of entries to return in a request. You can use this parameter and NextToken to implement paging.'."\n" - ."\n" - .'> A maximum of 100 entries can be returned in a request.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'Parameters for the Message Service (MNS) event source. The `RegionId`, `IsBase64Decode`, and `QueueName` parameters are required for this type.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the Message Service (MNS) queue is located.'."\n" + .'You can specify the following regions: `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`, and `cn-north-2-gov-1`.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue in Message Service (MNS).', 'type' => 'string', 'required' => false, 'example' => 'MyQueue', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Specifies whether to enable Base64 decoding. Valid values: `true` and `false`.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], 'required' => false, - 'example' => '50', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', - 'in' => 'query', + 'name' => 'SourceRocketMQParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'If you configure Limit and excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', + 'description' => 'Parameters for the Message Queue for Apache RocketMQ event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the Message Queue for Apache RocketMQ instance resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'MQ_INST_164901546557****_BAAN**** ', 'title' => ''], + 'Topic' => ['description' => 'The name of the topic on the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'mytopic', 'title' => ''], + 'Tag' => ['description' => 'The tag used to filter messages.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'Offset' => ['description' => 'The consumer offset from which message consumption starts. Valid values:', 'type' => 'string', 'required' => false, 'example' => 'CONSUME_FROM_LAST_OFFSET', 'title' => ''], + 'Timestamp' => ['description' => 'The point in time to start consumption, specified as a timestamp. This parameter is valid only if you set the `Offset` parameter to `CONSUME_FROM_TIMESTAMP`.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1636597951964', 'title' => ''], + 'GroupID' => ['description' => 'The consumer group ID on the Message Queue for Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'GID-test', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- `Cloud_4`: For v4.0 instances.'."\n" + ."\n" + .'- `Cloud_5`: For v5.0 instances.', 'type' => 'string', 'required' => false, 'example' => 'Cloud_4', 'title' => ''], + 'InstanceNetwork' => ['description' => 'This parameter is not in use.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceVpcId' => ['description' => 'The ID of the virtual private cloud (VPC). This parameter is required if the instance is deployed in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1a4gmlk31hyg6pt****', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch ID. This parameter is required if the instance is deployed in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp10rbrt6rb6vrd89****', 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group ID. This parameter is required if the instance is deployed in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'sg-catalog-eventlist****', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type. You can set this parameter to `ACL` or leave it empty.', 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => 'registry-vpc****.aliyuncs.com'."\n", 'title' => ''], + 'InstanceUsername' => ['description' => 'The username for the instance.', 'type' => 'string', 'required' => false, 'example' => 'root', 'title' => ''], + 'InstancePassword' => ['description' => 'The password for the instance.', 'type' => 'string', 'required' => false, 'example' => '******', 'title' => ''], + ], 'required' => false, - 'example' => '1000', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EventSource', - 'in' => 'query', + 'name' => 'SourceRabbitMQParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', + 'description' => 'Parameters for the Message Queue for RabbitMQ event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the Message Queue for RabbitMQ instance resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Message Queue for RabbitMQ instance. For more information, see Limits.', 'type' => 'string', 'required' => false, 'example' => 'amqp-cn-nif22u74**** ', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the virtual host (vhost) of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'eb-connect ', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue on the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], 'required' => false, - 'example' => 'mse', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Subject', - 'in' => 'query', + 'name' => 'SourceSLSParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'description' => 'Parameters for the Simple Log Service (SLS) event source.', + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The Log Project in Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test-project ', 'title' => ''], + 'LogStore' => ['description' => 'The Logstore in Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test-logstore ', 'title' => ''], + 'ConsumePosition' => ['description' => 'The consumer offset. Specifies where to start consumption. Valid values are `begin` (earliest offset), `end` (latest offset), or a specific UNIX timestamp.', 'type' => 'string', 'required' => false, 'example' => 'end', 'title' => ''], + 'RoleName' => ['description' => 'The RAM role that EventBridge assumes to read logs from Simple Log Service. When you create this role in the RAM console, select **Alibaba Cloud Service** as the trusted entity and **EventBridge** as the trusted service. For more information about the permissions for this role, see Custom event sources for Simple Log Service (SLS).', 'type' => 'string', 'required' => false, 'example' => 'testRole', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EventType', - 'in' => 'query', + 'name' => 'SourceHttpEventParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The event type.'."\n", - 'type' => 'string', + 'description' => 'Parameters for an HTTP endpoint event source.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The supported protocol for the webhook. Valid values:'."\n" + ."\n" + .'- `HTTP`'."\n" + ."\n" + .'- `HTTPS`'."\n" + ."\n" + .'- `HTTP&HTTPS`', 'type' => 'string', 'required' => false, 'example' => 'HTTPS', 'title' => ''], + 'Method' => [ + 'description' => 'The HTTP request methods supported by the webhook. You can specify more than one method. Valid values:'."\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' => 'An HTTP request method.'."\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', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityConfig' => ['description' => 'The type of security configuration. Valid values:'."\n" + ."\n" + .'- `none`: No configuration is required.'."\n" + ."\n" + .'- `ip`: IP address range.'."\n" + ."\n" + .'- `referer`: Security domain name.', 'type' => 'string', 'required' => false, 'example' => 'none', 'title' => ''], + 'Ip' => [ + 'description' => 'The IP address range for security settings. This parameter is required only if you set `SecurityConfig` to `ip`. You can specify a single IP address or a CIDR block.', + 'type' => 'array', + 'items' => ['description' => 'An IP address or a CIDR block.', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/8 ', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Referer' => [ + 'description' => 'The security domain names. This parameter is required only if you set `SecurityConfig` to `referer`. You can specify one or more domain names.', + 'type' => 'array', + 'items' => ['description' => 'A security domain name.', 'type' => 'string', 'required' => false, 'example' => 'aliyundoc.com ', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'eventbridge:Events:HTTPEvent', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MatchedRule', - 'in' => 'query', + 'name' => 'SourceScheduledEventParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event rule that is matched.'."\n", - 'type' => 'string', + 'description' => 'Parameters for a scheduled event source.', + 'type' => 'object', + 'properties' => [ + 'Schedule' => ['description' => 'The cron expression.', 'type' => 'string', 'required' => false, 'example' => '10 * * * * *', 'title' => ''], + 'TimeZone' => ['description' => 'The time zone in which the cron expression is executed.', 'type' => 'string', 'required' => false, 'example' => 'GMT+0:00', 'title' => ''], + 'UserData' => ['description' => 'A user-defined JSON string.', 'type' => 'string', 'required' => false, 'example' => '{"a": "b"}'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceKafkaParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'Parameters for the Message Queue for Apache Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'pc-2zehmg67txzuyuuwl****', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The consumer group ID.', 'type' => 'string', 'required' => false, 'example' => 'wechat_peer_****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'prod_ma_dispatch_center_call_re****', 'title' => ''], + 'OffsetReset' => ['description' => 'The consumer offset reset policy.', 'type' => 'string', 'required' => false, 'example' => 'latest', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'MaximumTasks' => ['description' => 'The concurrent consumption quota (number of consumers).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'required' => false, 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values are `Default` and `PublicNetwork`. Specify `PublicNetwork` if the instance is in a VPC.', 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID. This parameter is required if `Network` is set to `PublicNetwork`.', 'type' => 'string', 'required' => false, 'example' => 'sg-8vbf66aoyp0wfzrz****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID. This parameter is required if `Network` is set to `PublicNetwork`.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp127azpeirmwu4q9****', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID. This parameter is required if `Network` is set to `PublicNetwork`.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze5ejm986a73qq3v****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceOSSEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => ['description' => 'The event type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'description' => 'The list of event types.', + 'title' => '', + 'required' => false, + 'example' => '', + ], + 'StsRoleArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the Security Token Service (STS) role.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'MatchRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Prefix' => ['description' => 'The prefix.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Suffix' => ['description' => 'The suffix.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Name' => ['description' => 'The name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'MatchState' => ['description' => 'The match state.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'required' => false, + 'example' => '', + ], + 'description' => 'The event match rules.', + 'title' => '', + 'required' => false, + 'example' => '', + ], + 'description' => 'The match rules.', + 'title' => '', + 'required' => false, + 'example' => '', + ], + ], + 'description' => 'Parameters for the Object Storage Service (OSS) event source.', + 'title' => '', 'required' => false, - 'example' => 'test-mnsrule', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'd9e4628b-8b34-4f33-82be-5aac50aac0ba', - ], + 'Message' => ['description' => 'The error message returned if the request is unsuccessful.', '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] ', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2922208e-e1c6-43ee-bfd1-aca50263bc8a', 'title' => ''], 'Data' => [ - 'description' => 'The returned data.'."\n", + 'description' => 'The data returned by the request.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '1000', - ], - 'Events' => [ - 'description' => 'The events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventId' => [ - 'description' => 'The event ID.'."\n", - 'type' => 'string', - 'example' => '07E-1OCckaVzNB92BIFFh4xgydOF1wd', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'test-custom-bus', - ], - 'EventReceivedTime' => [ - 'description' => 'The time when the event was delivered to the event bus.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1661773573100', - ], - 'EventSource' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'example' => 'acs.resourcemanager', - ], - 'EventType' => [ - 'description' => 'The event type.'."\n", - 'type' => 'string', - 'example' => 'eventbridge:Events:HTTPEvent', - ], - ], - ], - ], - 'Total' => [ - 'description' => 'The total number of entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], + 'EventSourceARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'type' => 'string', 'title' => '', 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source'], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The request was successful.'."\n" - .'* Other codes: The request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The response code.'."\n" + ."\n" + .'- `Success`: The request was successful.'."\n" + ."\n" + .'- Other values indicate errors. For more information, see the "Error codes" section.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. A value of `true` indicates that the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d9e4628b-8b34-4f33-82be-5aac50aac0ba\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"07E-1OCckaVzNB92BIFFh4xgydOF1wd\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"acs.resourcemanager\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 6\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'QueryTracedEvents', - 'description' => 'You can call this API operation to query event traces by time range.'."\n", - ], - 'ListAliyunOfficialEventSources' => [ - 'summary' => 'Queries all Alibaba Cloud service event sources.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\" Remote error. requestId: [A8EFABD2-95B9-1C46-9E01-xxxx], error code: [CreateRelatedResourceFailed], message: [Create related resource failed, EntityNotExist.Role : The role not exists: xxxx. \\\\\\\\r\\\\\\\\nRequestId : xxxx-168C-54ED-8FEB-BF11CB70AEB7] \\",\\n \\"RequestId\\": \\"2922208e-e1c6-43ee-bfd1-aca50263bc8a\\",\\n \\"Data\\": {\\n \\"EventSourceARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateEventSource', + 'description' => 'Creates an external event source.', + 'requestParamsDescription' => 'Request Example'."\n" + .'`POST /openapi/createEventSource HTTP/1.1 Host: 164901546557****.eventbridge.cn-hangzhou.aliyuncs.com Date: Sat, 18 Apr 2020 05:30:41 GMT x-eventbridge-version: 2020-04-01 Authorization: acs vZ3VL0SuJdHi****:Jo2PbT******azYAYoYslKLvWzg= Content-Type: application/json;charset=UTF-8 Content-Length: 26`'."\n" + ."\n" + .'`{ "EventSourceName":"myRabbitMQ.source", "Description":"RabbitMQ event source", "SourceRabbitMQParameters":{ "RegionId":"cn-hangzhou", "InstanceId":"amqp-cn-nif22u74****", "VirtualHostName":"eb-connect", "QueueName":"demo" }, "EventBusName":"my-event-bus" }`', + 'changeSet' => [ + ['createdAt' => '2023-10-19T06:44:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-01T14:56:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-01T13:13:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEventSource'], + ], ], - 'schemes' => [ - 'http', - 'https', + '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/*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'CreateEventStreaming' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1561,2391 +2126,2620 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '43188', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeR7SE45', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154145', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO'], ], - 'parameters' => [], - 'responses' => [ - 200 => [ + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The name of the event stream.', 'type' => 'string', 'required' => true, 'maxLength' => 255, 'minLength' => 2, 'example' => 'myeventstreaming'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The description of the event stream.', 'type' => 'string', 'required' => false, 'example' => 'rocketmq2mns'], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The event filtering rule. If you do not specify this parameter, all events are matched.', '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' => 'The event provider. You must specify one and only one source type.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'InvalidArgument', + 'SourceMNSParameters' => [ + 'title' => '', + 'description' => 'The parameters for the MNS source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + 'QueueName' => ['description' => 'The queue name.', 'type' => 'string', 'required' => false, 'example' => 'queue_api_1642474203601', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Specifies whether to enable Base64 decoding. Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + 'required' => false, + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', + 'SourceRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RabbitMQ source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-k2c2yfg****', 'title' => ''], + 'VirtualHostName' => ['description' => 'The vhost name of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'eb-connect', 'title' => ''], + 'QueueName' => ['description' => 'The queue name of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], + 'required' => false, + 'example' => '', ], - 'Data' => [ - 'description' => 'The data returned.'."\n", + 'SourceKafkaParameters' => [ + 'title' => '', + 'description' => 'The parameters for the Kafka source.', 'type' => 'object', 'properties' => [ - 'EventSourceList' => [ - 'description' => 'The event sources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data structure of the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'example' => 'acs.aliyuncvc', - ], - 'FullName' => [ - 'description' => 'The full name of the event source.'."\n", - 'type' => 'string', - 'example' => 'E-MapReduce', - ], - 'Arn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:SYSTEM:eventsource/acs.aliyuncvc', - ], - 'Status' => [ - 'description' => 'The status of the event source. Valid value: Activated.'."\n", - 'type' => 'string', - 'example' => 'Activated', - ], - 'Type' => [ - 'description' => 'The type of the event source.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Ctime' => [ - 'description' => 'The time when the event source was created. Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1607071602000', - ], - 'Description' => [ - 'description' => 'The description of the event source.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'EventTypes' => [ - 'description' => 'The event types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data structure of the event type.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The full name of the event type.'."\n", - 'type' => 'string', - 'example' => 'aliyuncvc:MeetingEvent:MeetingStateEvent', - ], - 'ShortName' => [ - 'description' => 'The short name of the event type.'."\n", - 'type' => 'string', - 'example' => 'MeetingStateEvent', - ], - 'GroupName' => [ - 'description' => 'The name of the group to which the event type belongs.'."\n", - 'type' => 'string', - 'example' => 'aliyuncvc:MeetingEvent', - ], - 'EventSourceName' => [ - 'description' => 'The name of the event source.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - ], - ], - ], - 'EventBusName' => [ - 'description' => 'The name of the event source to which the event type belongs.'."\n", - 'type' => 'string', - 'example' => 'acs.aliyuncvc', - ], - ], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'r-8vb64581862c****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'popvip_center_robot_order', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The group ID of the consumer that subscribes to the topic.', 'type' => 'string', 'required' => false, 'example' => 'DEFAULT_GROUP', 'title' => ''], + 'OffsetReset' => ['description' => 'The offset.', 'type' => 'string', 'required' => false, 'example' => 'latest', 'title' => ''], + 'Network' => [ + 'description' => 'The network configuration. Default value: Default. Set this parameter to PublicNetwork for VPC networks.', + 'type' => 'string', + 'enum' => ['PublicNetwork', 'Default'], + 'required' => false, + 'example' => 'Default', + 'title' => '', + ], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vblalsi0vbhizr77****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp179l3llg3jjxwrq72****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp1iv19sp1msc7zot4****', 'title' => ''], + 'ValueDataType' => ['description' => 'The encoding and decoding format of the message body. Valid values:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceRocketMQParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RocketMQ source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-qingdao', 'title' => ''], + 'InstanceId' => ['description' => 'The region where the ApsaraMQ for RocketMQ instance resides.', 'type' => 'string', 'required' => false, 'example' => 'default_C56C36026****', 'title' => ''], + 'Topic' => ['description' => 'The topic of the messaging service.', 'type' => 'string', 'required' => false, 'example' => 'Topic_publicRule_api_1667273421288', 'title' => ''], + 'Tag' => ['description' => 'The filter tag for messages.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'Offset' => ['description' => 'The consumption offset of messages. Valid values:'."\n" + .'- CONSUME_FROM_LAST_OFFSET: starts consumption from the latest offset.'."\n" + .'- CONSUME_FROM_FIRST_OFFSET: starts consumption from the earliest offset.'."\n" + .'- CONSUME_FROM_TIMESTAMP: starts consumption from the offset at a specified point in time.'."\n" + ."\n" + .'Default value: CONSUME_FROM_LAST_OFFSET.', 'type' => 'string', 'required' => false, 'example' => 'CONSUMEFROMLAST_OFFSET', 'title' => ''], + 'GroupID' => ['description' => 'The group ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'GID_group1', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp. This parameter is valid only when the Offset parameter is set to CONSUME_FROM_TIMESTAMP.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1670656652009', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default).'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster.', 'type' => 'string', 'required' => false, 'example' => 'Cloud_4', 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com', 'title' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Network' => [ + 'description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'enumValueTitles' => ['PrivateNetwork' => 'PrivateNetwork', 'PublicNetwork' => 'PublicNetwork'], + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + 'title' => '', + ], + 'FilterType' => ['description' => 'The message filter type.', 'type' => 'string', 'required' => false, 'example' => 'Tag', 'title' => ''], + 'FilterSql' => ['description' => 'The SQL filter statement.', 'type' => 'string', 'required' => false, 'example' => 'index > 10', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID for cross-border tasks.', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5e3sv4b12345****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch IDs for cross-border tasks.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group for cross-border tasks.', 'type' => 'string', 'required' => false, 'example' => 'sg-m5edtu24f12345****', 'title' => ''], + 'InstanceVpcId' => ['description' => 'The VPC information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5e3sv4b12345****', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h123456****', 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'sg-m5edtu24f12345****', 'title' => ''], + 'InstanceNetwork' => ['description' => 'The network information of the instance. Valid values:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RocketMQ checkpoint source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Topics' => [ + 'description' => 'The message topic.', + 'type' => 'array', + 'items' => ['description' => 'The message topic.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RocketMQ checkpoint source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Topics' => [ + 'description' => 'The message topic.', + 'type' => 'array', + 'items' => ['description' => 'The message topic.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceMQTTParameters' => [ + 'description' => 'The parameters for the MQTT source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'r-bp1b5ncun5lqer****', 'title' => ''], + 'Topic' => ['description' => 'The topic of the message.', 'type' => 'string', 'required' => false, 'example' => 'CANAL_VICUTU_UAT', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceDTSParameters' => [ + 'description' => 'The parameters for the DTS source.', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => 'f86e5814-b223-482c-b768-3b873297****', 'title' => ''], + 'BrokerUrl' => ['description' => 'The network address and port number of the data subscription channel.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Topic' => ['description' => 'The subscription topic of the data subscription channel.', 'type' => 'string', 'required' => false, 'example' => 'LTC_CACHE_PRD', 'title' => ''], + 'Sid' => ['description' => 'The consumer group ID.', 'type' => 'string', 'required' => false, 'example' => 'HD3', 'title' => ''], + 'Username' => ['description' => 'The account of the consumer group.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password of the consumer group account.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InitCheckPoint' => ['description' => 'The consumption offset, which is the timestamp when the SDK client consumes the first data record. The value is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1620962769', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceSLSParameters' => [ + 'description' => 'The parameters for the Simple Log Service (SLS) source.', + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The project of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'LogStore' => ['description' => 'The Logstore of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'sas-log', 'title' => ''], + 'ConsumePosition' => ['description' => 'The initial consumption offset. You can select the earliest or latest offset, which corresponds to "begin" and "end" respectively. You can also start consumption from a specified time in seconds.', 'type' => 'string', 'required' => false, 'example' => 'end', 'title' => ''], + 'RoleName' => ['description' => 'The role name used to grant authorization to EventBridge to read SLS log content. When you create the role in the Resource Access Management (RAM) console, select "Alibaba Cloud Service" and set "Trusted Service" to "EventBridge".', 'type' => 'string', 'required' => false, 'example' => 'testRole', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourcePrometheusParameters' => [ + 'description' => 'The parameters for the Prometheus event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'c83555068b6******ad213f565f209', 'title' => ''], + 'DataType' => ['description' => 'The data type.', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'Labels' => ['description' => 'The labels.', 'type' => 'string', 'required' => false, 'example' => '__name__=.*', 'title' => ''], + 'RoleName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'ExternalLabels' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => 'The parameters for the custom Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for Kafka instance.', 'type' => 'string', 'required' => false, 'example' => 'r-8vb64581862c****'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => 'The parameters for the custom connector Apache Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The download URL of the OSS resource ZIP package.', '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"', 'title' => ''], + 'WorkerParameters' => ['description' => 'The Kafka instance configuration.', '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" + .' }', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'The connector parameters.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'required' => false, 'example' => 'test-name', 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For a list of error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', + 'SourceApacheKafkaParameters' => [ + 'title' => '', + 'description' => 'The parameter settings for open-source Kafka.', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['title' => '', 'description' => 'The bootstrap servers.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Topic' => ['title' => '', 'description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => ''], + 'ConsumerGroup' => ['title' => '', 'description' => 'The consumer group name.', 'type' => 'string', 'required' => false, 'example' => ''], + 'OffsetReset' => ['title' => '', 'description' => 'The consumption offset.'."\n" + .'Set this parameter to latest to read data from the latest offset. Set this parameter to earliest to read data from the earliest offset. The earliest setting is supported only for the first initialization of an unused group.', 'type' => 'string', 'required' => false, 'example' => ''], + 'ValueDataType' => ['title' => '', 'description' => 'The data type. Valid values:'."\n" + .'Text'."\n" + .'Binary'."\n" + .'Json.', 'type' => 'string', 'required' => false, 'example' => ''], + 'VpcId' => ['title' => '', 'description' => 'The VPC ID of the Kafka source.', 'type' => 'string', 'required' => false, 'example' => ''], + 'VSwitchIds' => ['title' => '', 'description' => 'The vSwitch ID list of the Kafka source.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SecurityGroupId' => ['title' => '', 'description' => 'The security group ID of the Kafka source.', 'type' => 'string', 'required' => false, 'example' => ''], + 'NetworkType' => ['title' => '', 'description' => 'The Kafka network type.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SecurityProtocol' => ['title' => '', 'description' => 'The Kafka security protocol type. Valid values:'."\n" + .'SASL_SSL'."\n" + .'PLAINTEXT'."\n" + .'SASL_PLAINTEXT.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SaslMechanism' => ['title' => '', 'description' => 'The Kafka SASL authentication mechanism.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SaslUser' => ['title' => '', 'description' => 'The Kafka SASL authentication username.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SaslPassword' => ['title' => '', 'description' => 'The Kafka SASL authentication password.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] The Kafka client certificate chain. This parameter is required when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format, containing the client certificate and the complete certificate chain (client certificate first, followed by intermediate CA certificates, with the root CA certificate being optional). Concatenate the PEM file contents, each starting with \'-----BEGIN CERTIFICATE-----\' and ending with \'-----END CERTIFICATE-----\', and then Base64-encode the result.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private keys] The Kafka client private key password. This parameter is required when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave this parameter empty if the private key is not encrypted. This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] The Kafka server trust certificate. This certificate is used to authenticate the SSL certificate of the Kafka broker to prevent man-in-the-middle attacks. Format: Base64-encoded PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure it starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued the certificate.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] The SSL private key configuration object. This parameter is required when the Kafka server enables bidirectional SSL authentication. Only KMS pattern is supported: specify the KMS EPS resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory for higher security. Example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. This parameter locates the Key Management Service instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN information of the corresponding key in the KMS console.', 'type' => 'string', 'required' => false, 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. If the KMS secret uses a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', set this parameter to \'ssl_keystore_key\'. If the KMS secret uses plain text mode (directly stores the PEM content of the private key), leave this parameter empty.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. If the operation is successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'SourceOSSParameters' => [ + 'description' => 'The parameters for the OSS event source.', + 'type' => 'object', + 'properties' => [ + 'RoleName' => ['description' => 'The role name used to grant authorization to EventBridge to read OSS files. The role must have at least read-only permissions on OSS.', 'type' => 'string', 'required' => false, 'example' => 'eventbridge_oss_role', 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'example' => 'bucket_abc', 'title' => ''], + 'Prefix' => ['description' => 'The file path prefix.', 'type' => 'string', 'required' => false, 'example' => 'fun/document/', 'title' => ''], + 'LoadMode' => [ + 'description' => 'The data loading mode. Set this parameter to single for single-document loading or element for chunked loading. Valid values: single/element. Default value: single.', + 'enumValueTitles' => ['single' => 'single', 'element' => 'element'], + 'type' => 'string', + 'required' => false, + 'example' => 'single', + 'title' => '', + ], + 'LoadFormat' => [ + 'description' => 'The document loader.', + 'enumValueTitles' => ['TextLoader' => 'TextLoader'], + 'type' => 'string', + 'required' => false, + 'example' => 'TextLoader', + 'title' => '', + ], + 'Delimiter' => ['description' => 'The delimiter. In chunked loading mode, this delimiter serves as the text chunking identifier. Default value: newline character '."\n" + .'.', 'type' => 'string', 'required' => false, 'example' => '\\n', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'QueueName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'BodyDataType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'AuthType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SourceEventBusParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EventBusName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'EventRuleName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], + 'SourceMySQLParameters' => ['$ref' => '#/components/schemas/SourceMySQLParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourcePostgreSQLParameters' => ['$ref' => '#/components/schemas/SourcePostgreSQLParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters', 'description' => '', 'title' => '', 'example' => ''], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Data\\": {\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"acs.arms\\",\\n \\"FullName\\": \\"应用事实监控\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"AliyunOfficial\\",\\n \\"Ctime\\": 1602730025890,\\n \\"Description\\": \\"云服务器ECS\\",\\n \\"EventTypes\\": [\\n {\\n \\"Name\\": \\"arms:ActionTrail:AliyunServiceEvent\\",\\n \\"ShortName\\": \\"AliyunServiceEven\\",\\n \\"GroupName\\": \\"ActionTrail\\",\\n \\"EventSourceName\\": \\"acs.arms\\"\\n }\\n ],\\n \\"EventBusName\\": \\"default\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListAliyunOfficialEventSources', - 'description' => 'You can call this API operation to query all Alibaba Cloud service event sources.'."\n", - ], - 'ListUserDefinedEventSources' => [ - 'summary' => 'Queries all custom event sources.', - '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' => 'The name of the event source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testName', - ], - ], - [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', 'required' => false, - 'example' => 'testBus', + 'example' => '', ], ], [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to be returned in a call. You can use this parameter and NextToken to implement paging. Note: Up to 100 entries can be returned in a call.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'name' => 'Metadata', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you configure Limit and excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '100', - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'Sink', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ + 'title' => '', + 'description' => 'The event target. You must specify one and only one sink type.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'InvalidArgument', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5169654A-7059-57E3-BFD9-33C7E012EA1B', - ], - 'Data' => [ - 'description' => 'The data returned.'."\n", + 'SinkMNSParameters' => [ + 'title' => '', + 'description' => 'The MNS event target.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'If excess return values exist when you configure Limit, this parameter is returned.', - 'type' => 'string', - 'example' => '100', + 'QueueName' => [ + 'description' => 'The target service type is Simple Message Queue (formerly MNS).', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the MNS queue.', 'type' => 'string', 'required' => false, 'example' => 'MyQueue', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Total' => [ - 'description' => 'The total number of entries returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format.', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT', 'TEMPLATE' => 'TEMPLATE'], + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'EventSourceList' => [ - 'description' => 'The event sources.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data structure of the event source.'."\n", - 'type' => 'object', + 'IsBase64Encode' => [ + 'description' => 'Specifies whether to enable Base64 encoding.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Specifies whether to enable Base64 encoding.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + 'Form' => [ + 'description' => 'The event transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkEventHouseParameters' => [ + 'title' => '', + 'description' => 'The event target name.', + 'type' => 'object', + 'properties' => [ + 'CatalogName' => ['title' => '', 'description' => 'The catalog name.', 'type' => 'string', 'example' => 'demo', 'required' => false], + 'NamespaceName' => ['title' => '', 'description' => 'The namespace of the target table.', 'type' => 'string', 'example' => 'name1', 'required' => false], + 'EventTableName' => ['title' => '', 'description' => 'The name of the target table.', 'type' => 'string', 'example' => 'demo-table', 'required' => false], + 'MappingRules' => [ + 'title' => '', + 'description' => 'The field mapping rules.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The field mapping rules.', + 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the queried event source.'."\n", - 'type' => 'string', - 'example' => 'rocketmq.source', - ], - 'Arn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the queried event source.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source', - ], - 'Status' => [ - 'description' => 'The status of the queried event source. The returned value Activated indicates that the event source is activated.'."\n", - 'type' => 'string', - 'example' => 'Activated', - ], - 'Type' => [ - 'description' => 'The type of the queried event source. The returned value UserDefined indicates that the event source is a custom event source.'."\n", - 'type' => 'string', - 'example' => 'UserDefined', - ], - 'Ctime' => [ - 'description' => 'The timestamp that indicates when the event source was created.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1607071602000', - ], - 'ExternalSourceType' => [ - 'description' => 'The type of the event source.'."\n", - 'type' => 'string', - 'example' => 'RabbitMQ', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'test-custom-bus', - ], - 'SourceMNSParameters' => [ - 'description' => 'The parameters that are returned if Simple Message Queue (formerly MNS) (SMQ) is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the SMQ queue resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'QueueName' => [ - 'description' => 'The name of the SMQ queue.'."\n", - 'type' => 'string', - 'example' => 'queue.openapi-sign-callback', - ], - 'IsBase64Decode' => [ - 'description' => 'Indicates whether Base64 decoding is enabled. By default, Base64 decoding is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'SourceRocketMQParameters' => [ - 'description' => 'The parameters that are returned if Message Queue for Apache RocketMQ is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for Apache RocketMQ instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'bastionhost-cn-7mz293s9d1p', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'migration_instance', - ], - 'Tag' => [ - 'description' => 'The tag that is used to filter messages.'."\n", - 'type' => 'string', - 'example' => 'dataact', - ], - 'Offset' => [ - 'description' => 'The offset from which messages are consumed. Valid values:'."\n" - ."\n" - .'* CONSUME_FROM_LAST_OFFSET: Messages are consumed from the latest offset.'."\n" - .'* CONSUME_FROM_FIRST_OFFSET: Messages are consumed from the earliest offset.'."\n" - .'* CONSUME_FROM_TIMESTAMP: Messages are consumed from the offset at the specified point in time.'."\n" - ."\n" - .'Default value: CONSUME_FROM_LAST_OFFSET.'."\n", - 'type' => 'string', - 'example' => 'CONSUMEFROMLASTOFFSET', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that indicates the time from which messages are consumed. This parameter is valid only if Offset is set to CONSUME_FROM_TIMESTAMP.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1664591760', - ], - 'GroupId' => [ - 'description' => 'The ID of the consumer group on the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'GID-test', - ], - 'InstanceType' => [ - 'description' => 'The instance type. Valid values: CLOUD\\_4, CLOUD\\_5, and SELF_BUILT. The value CLOUD\\_4 indicates that the instance is a Message Queue for Apache RocketMQ 4.0 instance. The value CLOUD\\_5 indicates that the instance is a Message Queue for Apache RocketMQ 5.0 instance. The value SELF_BUILT indicates that the instance is a self-managed RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'CLOUD_5', - ], - 'InstanceNetwork' => [ - 'description' => 'The type of network over which the Message Queue for Apache RocketMQ instance is accessed.'."\n", - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance is deployed.'."\n", - 'type' => 'string', - 'example' => 'vpc-***', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1iu***', - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'example' => 'eb-167adad548***', - ], - 'AuthType' => [ - 'description' => 'The authentication type. This parameter can be set to ACL or left empty.'."\n", - 'type' => 'string', - 'example' => 'ACL', - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', - ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'root', - ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => '***', - ], - ], - ], - 'SourceRabbitMQParameters' => [ - 'description' => 'The parameters that are returned if Message Queue for RabbitMQ is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for RabbitMQ instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'bastionhost-cn-0ju2x28fj07', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'eb-connect', - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'file-upload-queue', - ], - ], - ], - 'SourceSLSParameters' => [ - 'description' => 'The parameters that are returned if Simple Log Service is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'example' => 'VideoTestProject', - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'cloudfirewall-logstore', - ], - 'ConsumePosition' => [ - 'description' => 'The consumer offset. The value begin indicates the earliest offset, and the value end indicates the latest offset. You can also specify a time in seconds to start consumption.'."\n", - 'type' => 'string', - 'example' => 'end', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console. For information about the permission policy of this role, see Create a custom event source of the Log Service type.'."\n", - 'type' => 'string', - 'example' => 'testRole', - ], - ], - ], - 'SourceHttpEventParameters' => [ - 'description' => 'The parameters that are returned if HTTP events are specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The protocol type that is supported by the generated webhook URL. Valid values:'."\n" - ."\n" - .'* HTTP'."\n" - .'* HTTPS'."\n" - .'* HTTP\\&HTTPS'."\n", - 'type' => 'string', - 'example' => 'HTTPS', - ], - 'Method' => [ - 'description' => 'The HTTP request method that is supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The HTTP request method that is supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'string', - 'example' => 'GET', - ], - ], - 'SecurityConfig' => [ - 'description' => 'The type of security settings. Valid values:'."\n" - ."\n" - .'* none: No configuration is required.'."\n" - .'* ip: CIDR block.'."\n" - .'* referer: security domain name.'."\n", - 'type' => 'string', - 'example' => 'none', - ], - 'Ip' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'string', - 'example' => '8.212.139.16/32', - ], - ], - 'Referer' => [ - 'description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", - 'type' => 'string', - 'example' => 'aliyundoc.com ', - ], - ], - 'PublicWebHookUrl' => [ - 'description' => 'The Internet request URL.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The Internet request URL.'."\n", - 'type' => 'string', - 'example' => 'http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***', - ], - ], - 'VpcWebHookUrl' => [ - 'description' => 'The internal request URL.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The internal request URL.'."\n", - 'type' => 'string', - 'example' => 'http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***', - ], - ], - ], - ], - 'SourceKafkaParameters' => [ - 'description' => 'The parameters that are returned if Message Queue for Apache Kafka is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'i-2ze6kiwzkebf04s5h8ds', - ], - 'ConsumerGroup' => [ - 'description' => 'The ID of the consumer group that subscribes to the topic on the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'test-gid', - ], - 'Topic' => [ - 'description' => 'The topic name.'."\n", - 'type' => 'string', - 'example' => 'topic_api_1674441611897', - ], - 'OffsetReset' => [ - 'description' => 'The consumer offset.'."\n", - 'type' => 'string', - 'example' => 'earliest', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for Apache Kafka instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'MaximumTasks' => [ - 'description' => 'The maximum number of consumers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Network' => [ - 'description' => 'The network type. Valid values: Default and PublicNetwork. Default value: Default. The value PublicNetwork indicates a self-managed network.'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache Kafka instance belongs.'."\n", - 'type' => 'string', - 'example' => 'sg-f8zatts5g97x0j***', - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC in which the Message Queue for Apache Kafka instance is deployed.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1kz3ohhzgrau2***', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1hcrxq3mkcik***e', - ], - ], - ], - 'SourceScheduledEventParameters' => [ - 'description' => 'The parameters that are returned if scheduled events are specified as the event source.'."\n", + 'ColumnValue' => [ + 'title' => '', + 'description' => 'The column value extraction rule.', 'type' => 'object', 'properties' => [ - 'Schedule' => [ - 'description' => 'The cron expression.'."\n", - 'type' => 'string', - 'example' => '0 1 * * * *', - ], - 'TimeZone' => [ - 'description' => 'The time zone in which the cron expression is executed.'."\n", - 'type' => 'string', - 'example' => 'GMT+0:00', - ], - 'UserData' => [ - 'description' => 'The JSON string.'."\n", - 'type' => 'string', - 'example' => '{"a": "b"}', - ], + 'Value' => ['title' => '', 'description' => 'The extraction path, such as $.data.value.name.', 'type' => 'string', 'example' => '$.data.value', 'required' => false], + 'Form' => ['title' => '', 'description' => 'The transformation method, such as JSONPATH.', 'type' => 'string', 'example' => 'JSONPATH', 'required' => false], + 'Template' => ['title' => '', 'description' => 'The template configuration.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'required' => false], ], + 'required' => false, + 'example' => '', ], - 'SourceOSSEventParameters' => [ - 'type' => 'object', - 'properties' => [ - 'EventTypes' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'StsRoleArn' => [ - 'type' => 'string', - ], - 'MatchRules' => [ - 'type' => 'any', - ], - ], + 'ColumnName' => ['title' => '', 'description' => 'The column name.', 'type' => 'string', 'example' => 'age', 'required' => false], + 'ColumnType' => [ + 'title' => '', + 'description' => 'The column type.', + 'type' => 'string', + 'example' => 'text', + 'enum' => ['text', 'bigint', 'json', 'timestamp', 'double'], + 'required' => false, ], ], + 'required' => false, + 'example' => '', ], + 'required' => false, + 'example' => '', ], ], - ], - 'Code' => [ - 'description' => 'The returned response code. Valid values:'."\n" - ."\n" - .'* Success: The request is successful.'."\n" - .'* Other codes: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5169654A-7059-57E3-BFD9-33C7E012****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"Total\\": 18,\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"rocketmq.source\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"UserDefined\\",\\n \\"Ctime\\": 1607071602000,\\n \\"ExternalSourceType\\": \\"RabbitMQ\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"QueueName\\": \\"queue.openapi-sign-callback\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-shenzhen\\",\\n \\"InstanceId\\": \\"bastionhost-cn-7mz293s9d1p\\",\\n \\"Topic\\": \\"migration_instance\\",\\n \\"Tag\\": \\"dataact\\",\\n \\"Offset\\": \\"CONSUMEFROMLASTOFFSET\\",\\n \\"Timestamp\\": 1664591760,\\n \\"GroupId\\": \\"GID-test\\",\\n \\"InstanceType\\": \\"CLOUD_5\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"InstanceVpcId\\": \\"vpc-***\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-bp1iu***\\",\\n \\"InstanceSecurityGroupId\\": \\"eb-167adad548***\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"InstanceUsername\\": \\"root\\",\\n \\"InstancePassword\\": \\"***\\"\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"bastionhost-cn-0ju2x28fj07\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"file-upload-queue\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"VideoTestProject\\",\\n \\"LogStore\\": \\"cloudfirewall-logstore\\",\\n \\"ConsumePosition\\": \\"end\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourceHttpEventParameters\\": {\\n \\"Type\\": \\"HTTPS\\",\\n \\"Method\\": [\\n \\"GET\\"\\n ],\\n \\"SecurityConfig\\": \\"none\\",\\n \\"Ip\\": [\\n \\"8.212.139.16/32\\"\\n ],\\n \\"Referer\\": [\\n \\"aliyundoc.com\\\\t\\"\\n ],\\n \\"PublicWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***\\"\\n ],\\n \\"VpcWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***\\"\\n ]\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"InstanceId\\": \\"i-2ze6kiwzkebf04s5h8ds\\",\\n \\"ConsumerGroup\\": \\"test-gid\\",\\n \\"Topic\\": \\"topic_api_1674441611897\\",\\n \\"OffsetReset\\": \\"earliest\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MaximumTasks\\": 2,\\n \\"Network\\": \\"Default\\",\\n \\"SecurityGroupId\\": \\"sg-f8zatts5g97x0j***\\",\\n \\"VpcId\\": \\"vpc-bp1kz3ohhzgrau2***\\",\\n \\"VSwitchIds\\": \\"vsw-bp1hcrxq3mkcik***e\\"\\n },\\n \\"SourceScheduledEventParameters\\": {\\n \\"Schedule\\": \\"0 1 * * * *\\",\\n \\"TimeZone\\": \\"GMT+0:00\\",\\n \\"UserData\\": \\"{\\\\\\"a\\\\\\": \\\\\\"b\\\\\\"}\\"\\n },\\n \\"SourceOSSEventParameters\\": {\\n \\"EventTypes\\": [\\n \\"\\"\\n ],\\n \\"StsRoleArn\\": \\"\\",\\n \\"MatchRules\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListUserDefinedEventSources', - 'description' => 'You can call this API operation to query custom event sources.'."\n", - 'responseParamsDescription' => 'Sample responses: \\`HTTP/1.1 200 OK Server: AliyunEventBridge Connection: keep-alive Content-Type: application/json;charset=utf-8 Content-Length: 79 x-eventbridge-request-id: 608C6467-3195-42A3-97B5-C51FB976\\*\\*\\*\\* Date: Sat, 18 Apr 2020 05:30:41 GMT'."\n" - ."\n" - .'{ "code":"200", "data":{ "RequestId":"608C6467-3195-42A3-97B5-C51FB976\\*\\*\\*\\*", "Data":{ "eventSourceList":\\[ { "Status":"Activated", "Type":"UserDefined", "Ctime":1626360902642, "EventBusName": "demo-bus", "SourceRocketMQParameters":{ "InstanceId":"MQ_INST\\_164901546557\\*\\*\\*\\*\\_BXmr\\*\\*\\*\\*", "Tag":"", "RegionId":"cn-hangzhou", "Topic":"demo-topic", "GroupID":"GID_SOURCE", "Offset":"CONSUME_FROM_LAST_OFFSET" }, "ARN":"acs:eventbridge:cn-hangzhou:164901546557\\*\\*\\*\\*:eventbus/my-event-bus/eventsource/myRocketMQ.source", "Name":"demo.source" } ] }, "Code":"Success", "Success":true }, "httpStatusCode":"200", "requestId":"608C6467-3195-42A3-97B5-C51FB976\\*\\*\\*\\*", "successResponse":true }\\`'."\n", - ], - 'CreateEventSource' => [ - 'summary' => 'Creates an event source.', - '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' => 'The name of the event source.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myrabbitmq.sourc', - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'title' => '事件源描述详情', - 'description' => 'The description of the event source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'LinkedExternalSource', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否连接外部数据源', - 'description' => 'Specify whether to connect to an external data source.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ExternalSourceType', - 'in' => 'formData', - 'schema' => [ - 'title' => '外部数据源类型', - 'description' => 'The type of the external data source.'."\n", - 'type' => 'string', - 'format' => 'byte', - 'required' => false, - 'example' => 'RabbitMQ', - ], - ], - [ - 'name' => 'ExternalSourceConfig', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '外部数据源配置', - 'description' => 'The configurations of the external data source.'."\n", - 'type' => 'object', - 'required' => false, - 'example' => '{\\"Schedule\\":\\"0 */10 * * * *\\",\\"TimeZone\\":\\"GMT+0:00\\"}', - ], - ], - [ - 'name' => 'EventBusName', - 'in' => 'formData', - 'schema' => [ - 'title' => '绑定的总线', - 'description' => 'The name of the event bus with which the event source is associated.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my-event-bus', - ], - ], - [ - 'name' => 'SourceMNSParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if you specify Simple Message Queue (formerly MNS) (SMQ) as the event source. If you specify SMQ as the event source, you must configure RegionId, IsBase64Decode, and QueueName.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the SMQ queue resides. Valid values: 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, and cn-north-2-gov-1.'."\n", - 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou', + 'example' => '', ], - 'QueueName' => [ - 'description' => 'The name of the SMQ queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MyQueue', - ], - 'IsBase64Decode' => [ - 'description' => 'Specify whether to enable Base64 decoding. Valid values: true and false. If you set this parameter to true, Base64 decoding is enabled.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceRocketMQParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for Apache RocketMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region where the Message Queue for Apache RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MQ_INST_164901546557****_BAAN**** ', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mytopic', - ], - 'Tag' => [ - 'description' => 'The tag that is used to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Offset' => [ - 'description' => 'The offset from which message consumption starts. Valid values: CONSUME_FROM_LAST_OFFSET: Start message consumption from the latest offset. CONSUME_FROM_FIRST_OFFSET: Start message consumption from the earliest offset. CONSUME_FROM_TIMESTAMP: Start message consumption from the offset at the specified point in time. Default value: CONSUME_FROM_LAST_OFFSET.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSUME_FROM_LAST_OFFSET', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1636597951964', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group on the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID-test', - ], - 'InstanceType' => [ - 'description' => 'The type of the Message Queue for Apache RocketMQ instance. Valid values:'."\n" - ."\n" - .'* Cloud\\_4: Message Queue for Apache RocketMQ 4.0 instance.'."\n" - .'* Cloud\\_5: Message Queue for Apache RocketMQ 5.0 instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud_4', - ], - 'InstanceNetwork' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1a4gmlk31hyg6ptl3ss', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp10rbrt6rb6vrd89****', - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.'."\n", - 'type' => 'string', + 'SinkRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RabbitMQ sink.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The target service type is ApsaraMQ for RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'a5ff91ad4f3f24947887fe184fc2****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VirtualHostName' => [ + 'description' => 'The vhost name of the ApsaraMQ for RabbitMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vhost name of the Aps', 'type' => 'string', 'required' => false, 'example' => 'rabbit-host', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TargetType' => [ + 'description' => 'The target type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The target type. Valid values:'."\n" + .'- Exchange: Exchange mode.'."\n" + .'- Queue: Queue mode.', 'type' => 'string', 'required' => false, 'example' => 'Exchange/Queue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Exchange' => [ + 'description' => 'The Exchange mode. This parameter is required only when TargetType is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the exchange on the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'a_exchange', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoutingKey' => [ + 'description' => 'The routing rule for messages. This parameter is required only when TargetType is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The routing rule for messages.', 'type' => 'string', 'required' => false, 'example' => 'housekeeping', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'QueueName' => [ + 'description' => 'The Queue mode. This parameter is required only when TargetType is set to Queue.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the queue in the instance.', 'type' => 'string', 'required' => false, 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The message ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'sg-catalog-eventlistener', + 'example' => '', ], - 'AuthType' => [ - 'description' => 'The authentication type. You can set this parameter to ACL or leave this parameter empty.'."\n", - 'type' => 'string', + 'SinkKafkaParameters' => [ + 'title' => '', + 'description' => 'The parameters for the Kafka sink.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is ApsaraMQ for Kafka.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'Defaut_1283278472_s****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the topic.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the target topic strategy for message routing. If both the Topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: directly specify a fixed topic name string (for example, "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: specify a standard JSONPath expression (for example, "$.user.id" or "$.metadata.category"). The system parses the upstream message body and extracts the matching field value as the target topic name.'."\n" + .'[_single.params.Sink.props.SinkKafkaParameters.DynamicTopic', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transformation type.'."\n" + .'CONSTANT: constant.'."\n" + .'JSONPATH: extracts content from upstream based on a path.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'Acks' => [ + 'description' => 'The acknowledgment mode for writing to Kafka:'."\n" + .'- acks=0: No response is required from the server. This mode delivers higher performance but carries a higher risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance with a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides higher data safety. Data loss occurs only if both the primary and secondary nodes go down.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The acknowledgment mode for writing to Kafka:'."\n" + .'- acks=0: No response is required from the server. This mode delivers higher performance but carries a higher risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance with a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides higher data safety. Data loss occurs only if both the primary and secondary nodes go down.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1'], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Key' => [ + 'description' => 'The message key.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The message key.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'description' => 'The message body.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'ACL', + 'example' => '', ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', + 'SinkApacheKafkaParameters' => [ + 'title' => '', + 'description' => 'The description.', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['title' => '', 'description' => 'The initial endpoint of the Kafka cluster.', 'type' => 'string', 'required' => false, 'example' => ''], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the target topic strategy for message routing. If both the Topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: directly specify a fixed topic name string (for example, "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: specify a standard JSONPath expression (for example, "$.user.id" or "$.metadata.category"). The system parses the upstream message body and extracts the matching field value as the target topic name.'."\n" + .'[_single.params.Sink.props.SinkKafkaParameters.DynamicTopic', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transformation type.'."\n" + .'CONSTANT: constant.'."\n" + .'JSONPATH: extracts content from upstream based on a path.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'Topic' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Acks' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityProtocol' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslMechanism' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslUser' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] The Kafka client certificate chain. This parameter is required when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format, containing the client certificate and the complete certificate chain (client certificate first, followed by intermediate CA certificates, with the root CA certificate being optional). Concatenate the PEM file contents, each starting with \'-----BEGIN CERTIFICATE-----\' and ending with \'-----END CERTIFICATE-----\', and then Base64-encode the result.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private keys] The Kafka client private key password. This parameter is required when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave this parameter empty if the private key is not encrypted. This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] The Kafka server trust certificate. Used to authenticate the validity of the Kafka Broker SSL certificate and prevent man-in-the-middle attacks. Format: Base64 encoding of PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure it starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued the certificate.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] The SSL private key configuration object. When the Kafka server enables bidirectional SSL authentication, you must provide the client private key. Only KMS pattern is supported: specify the Key Management EPS resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. This parameter locates the Key Management Service instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN information of the corresponding key in the KMS console.', 'type' => 'string', 'required' => false, 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. If the KMS secret uses a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', set this parameter to \'ssl_keystore_key\'. If the KMS secret uses plain text mode (directly stores the PEM content of the private key), leave this parameter empty.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SaslPassword' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'registry-vpc****.aliyuncs.com'."\n", + 'example' => '', ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'root', - ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '******', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceRabbitMQParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for RabbitMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for RabbitMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for RabbitMQ instance. For more information, see Limits.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'amqp-cn-nif22u74**** ', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-connect ', - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceSLSParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-project ', - ], - 'LogStore' => [ - 'description' => 'The Log Service Logstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-logstore ', - ], - 'ConsumePosition' => [ - 'description' => 'The starting consumer offset. The value begin specifies the earliest offset, and the value end specifies the latest offset. You can also specify a time in seconds to start consumption.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'end', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console. For information about the permission policy of this role, see Create a custom event source of the Log Service type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceHttpEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is HTTP events.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The protocol type that is supported by the generated webhook URL. Valid values:'."\n" - ."\n" - .'* HTTP'."\n" - .'* HTTPS'."\n" - .'* HTTP\\&HTTPS'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTPS', - ], - 'Method' => [ - 'description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GET', - ], - 'required' => false, - ], - 'SecurityConfig' => [ - 'description' => 'The type of security settings. Valid values:'."\n" - ."\n" - .'* none: No configuration is required.'."\n" - .'* ip: CIDR block.'."\n" - .'* referer: security domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'none', - ], - 'Ip' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if you set SecurityConfig to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if you set SecurityConfig to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.0/8 ', - ], - 'required' => false, - ], - 'Referer' => [ - 'description' => 'The security domain name. This parameter is required only if you set SecurityConfig to referer. You can enter a domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The security domain name. This parameter is required only if you set SecurityConfig to referer. You can enter a domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aliyundoc.com ', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceScheduledEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if you specify scheduled events as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Schedule' => [ - 'description' => 'The cron expression.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10 * * * * *', - ], - 'TimeZone' => [ - 'description' => 'The time zone in which the cron expression is executed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GMT+0:00', - ], - 'UserData' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"a": "b"}'."\n", - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceKafkaParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for Apache Kafka.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'pc-2zehmg67txzuyuuwlxv4f', - ], - 'ConsumerGroup' => [ - 'description' => 'The ID of the consumer group that subscribes to the topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'wechat_peer_prod', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'prod_ma_dispatch_center_call_record', - ], - 'OffsetReset' => [ - 'description' => 'The consumer offset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'latest', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for Apache Kafka instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'MaximumTasks' => [ - 'description' => 'The maximum number of consumers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'Network' => [ - 'description' => 'The network. Valid values: Default and PublicNetwork. Default value: Default. The value PublicNetwork indicates a self-managed network.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache Kafka instance belongs. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-8vbf66aoyp0wfzrzxlmy', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp127azpeirmwu4q9ttqi', - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC in which the Message Queue for Apache Kafka instance resides. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze5ejm986a73qq3vshlk', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceOSSEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EventTypes' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'StsRoleArn' => [ - 'type' => 'string', - ], - 'MatchRules' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'array', - 'items' => [ + 'SinkFcParameters' => [ + 'title' => '', + 'description' => 'The function target.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The service name.', 'type' => 'object', 'properties' => [ - 'Prefix' => [ + 'Value' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'myService', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'Suffix' => [ + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'FunctionName' => [ + 'description' => 'The function name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The function name.', 'type' => 'string', 'required' => false, 'example' => 'myFunction', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'Name' => [ + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Concurrency' => [ + 'description' => 'The delivery concurrency. Minimum value: 1.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery concurrency. Minimum value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'MatchState' => [ - 'type' => 'boolean', - ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - ], - ], - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - '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' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2922208e-e1c6-43ee-bfd1-aca50263bc8a', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventSourceARN' => [ - 'title' => '资源ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source', + 'Qualifier' => [ + 'description' => 'The service version.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The service version.', 'type' => 'string', 'required' => false, 'example' => 'LATEST', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - ], - 'Code' => [ - 'description' => 'The returned response code. Valid values:'."\n" - ."\n" - .'* Success: The request is successful.'."\n" - .'* Other codes: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\" Remote error. requestId: [A8EFABD2-95B9-1C46-9E01-xxxx], error code: [CreateRelatedResourceFailed], message: [Create related resource failed, EntityNotExist.Role : The role not exists: xxxx. \\\\\\\\r\\\\\\\\nRequestId : xxxx-168C-54ED-8FEB-BF11CB70AEB7] \\",\\n \\"RequestId\\": \\"2922208e-e1c6-43ee-bfd1-aca50263bc8a\\",\\n \\"Data\\": {\\n \\"EventSourceARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateEventSource', - 'description' => 'You can call this operation to create an event source.'."\n", - 'requestParamsDescription' => 'Sample requests \\`POST /openapi/createEventSource HTTP/1.1 Host: 164901546557\\*\\*\\*\\*.eventbridge.cn-hangzhou.aliyuncs.com Date: Sat, 18 Apr 2020 05:30:41 GMT x-eventbridge-version: 2020-04-01 Authorization: acs vZ3VL0SuJdHi\\*\\*\\*\\*:Jo2PbT\\*\\*\\*\\*\\*\\*azYAYoYslKLvWzg= Content-Type: application/json;charset=UTF-8 Content-Length: 26'."\n" - ."\n" - .'{ "EventSourceName":"myRabbitMQ.source", "Description":"Event source of the Message Queue for RabbitMQ type", "SourceRabbitMQParameters":{ "RegionId":"cn-hangzhou", "InstanceId":"amqp-cn-nif22u74\\*\\*\\*\\*", "VirtualHostName":"eb-connect", "QueueName":"demo" }, "EventBusName":"my-event-bus" }\\`'."\n", - ], - 'DeleteEventSource' => [ - 'summary' => 'Deletes an event source.', - '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' => 'The name of the event source.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myrabbitmq.source', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - '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' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteEventSource', - 'description' => 'You can call this API operation to delete an event source.'."\n", - ], - 'UpdateEventSource' => [ - 'summary' => 'Updates an event source.', - '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' => 'The name of the event source.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myrabbitmq.source', - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'title' => '事件源描述详情', - 'description' => 'The description of the event source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'LinkedExternalSource', - 'in' => 'formData', - 'schema' => [ - 'title' => '是否连接外部数据源', - 'description' => 'Specifies whether to connect to an external data source.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ExternalSourceType', - 'in' => 'formData', - 'schema' => [ - 'title' => '外部数据源类型', - 'description' => 'The type of the external data source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SLS', - ], - ], - [ - 'name' => 'ExternalSourceConfig', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '外部数据源配置', - 'description' => 'The configurations of the external data source.'."\n", - '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' => 'The event bus with which the event source is associated.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my-event-bus'."\n", - ], - ], - [ - 'name' => 'SourceMNSParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Service (MNS).'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region where the MNS queue resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'queue_api_bind_1672194645178', - ], - 'IsBase64Decode' => [ - 'description' => 'Indicates whether Base64 decoding is enabled. By default, Base64 decoding is enabled.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceRocketMQParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for Apache RocketMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region where the Message Queue for Apache RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-zhangjiakou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dbaudit-cn-i7m2nx2or01', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'topic_default_195820716552192', - ], - 'Tag' => [ - 'description' => 'The tag that is used to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'KEY2', - ], - 'Offset' => [ - 'description' => 'The offset from which message consumption starts. Valid values:'."\n" - ."\n" - .'* CONSUME_FROM_LAST_OFFSET: Start message consumption from the latest offset.'."\n" - .'* CONSUME_FROM_FIRST_OFFSET: Start message consumption from the earliest offset.'."\n" - .'* CONSUME_FROM_TIMESTAMP: Start message consumption from the offset at the specified point in time.'."\n" - ."\n" - .'Default value: CONSUME_FROM_LAST_OFFSET.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSUMEFROMLASTOFFSET', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1663555399032', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group on the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID-test'."\n", - ], - 'InstanceType' => [ - 'description' => 'The type of the Message Queue for Apache RocketMQ instance. Valid values:'."\n" - ."\n" - .'* Cloud\\_4: Message Queue for Apache RocketMQ 4.0 instance.'."\n" - .'* Cloud\\_5: Message Queue for Apache RocketMQ 5.0 instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud_4', - ], - 'InstanceNetwork' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1a4gmlk31hyg6ptl3ss', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp10rbrt6rb6vrd89****'."\n", - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-catalog-eventlistener'."\n", - ], - 'AuthType' => [ - 'description' => 'The authentication type. You can set this parameter to ACL or leave this parameter empty.'."\n", - 'type' => 'string', + 'InvocationType' => [ + 'description' => 'The invocation type. Valid values:'."\n" + .'Sync: synchronous.'."\n" + .'Async: asynchronous.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The invocation type. Valid values:'."\n" + .'Sync: synchronous.'."\n" + .'Async: asynchronous.', + 'enumValueTitles' => ['Async' => 'Async', 'Sync' => 'Sync'], + 'type' => 'string', + 'required' => false, + 'example' => 'Async', + 'title' => '', + ], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content body sent to the function.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event'."\n" + .'- JSONPATH: partial event'."\n" + .'- CONSTANT: constant'."\n" + .'- TEMPLATE: template'."\n" + ."\n" + .'For more information, see [https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation](https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation).', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT', 'ORIGINAL' => 'ORIGINAL', 'TEMPLATE' => 'TEMPLATE'], + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + 'title' => '', + ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DataFormat' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'ACL', + 'example' => '', ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'registry-vpc****.aliyuncs.com'."\n", + 'SinkRocketMQParameters' => [ + 'title' => '', + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is ApsaraMQ for RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of ApsaraMQ for RocketMQ.', 'type' => 'string', 'required' => false, 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Keys' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Tags' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceType' => [ + 'description' => 'The instance type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default).'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster.', 'type' => 'string', 'required' => false, 'example' => 'Cloud_4', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => [ + 'description' => 'The instance endpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vbsvkkbpf3vb0zef****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceUsername' => [ + 'description' => 'The instance username.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance username.', 'type' => 'string', 'required' => false, 'example' => 'admin'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstancePassword' => [ + 'description' => 'The instance password.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance password.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vb835n3zf9shwlvb****', 'title' => ''], + 'Form' => ['description' => 'The event transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'b4bf375515f6440f942e3a20c33d****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Network' => [ + 'description' => 'The network type. Valid values:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The network type. Valid values: '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DeliveryOrderType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ShardingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', + 'SinkDorisParameters' => [ + 'title' => '', + 'description' => 'The event source type.', + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'root', + 'example' => '', ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The event source type.', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => '******', + 'example' => '', ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceRabbitMQParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for RabbitMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for RabbitMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bastionhost-cn-7mz2zkyff09', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'amqp-cn-nif22u74**** '."\n", - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-connect', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceSLSParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'SourceSLSParameters'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VideoTestProject', - ], - 'LogStore' => [ - 'description' => 'The Log Service Logstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'waf-logstore', - ], - 'ConsumePosition' => [ - 'description' => 'The starting consumer offset. The value begin indicates the earliest offset, and the value end indicates the latest offset. You can also specify a time in seconds to start consumption.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'end', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console. For information about the permission policy of this role, see Create a custom event source of the Log Service type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceScheduledEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if you specify scheduled events as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Schedule' => [ - 'description' => 'The cron expression.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10 * * * * *'."\n", - ], - 'TimeZone' => [ - 'description' => 'The time zone in which the cron expression is executed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GMT+0:00'."\n", - ], - 'UserData' => [ - 'description' => 'The user data that is displayed in a JSON string.', - 'type' => 'string', - 'required' => false, - 'example' => '{"a": "b"}', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceHttpEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is HTTP events.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The protocol type that is supported by the generated webhook URL. Valid values:'."\n" - ."\n" - .'* HTTP'."\n" - .'* HTTPS'."\n" - .'* HTTP\\&HTTPS'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTPS', - ], - 'Method' => [ - 'description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* PUT'."\n" - .'* PATCH'."\n" - .'* DELETE'."\n" - .'* HEAD'."\n" - .'* OPTIONS'."\n" - .'* TRACE'."\n" - .'* CONNECT'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GET', + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The event source type.', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'InstanceUsername' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'InstancePassword' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, + 'example' => '', ], - 'SecurityConfig' => [ - 'description' => 'The type of security settings. Valid values:'."\n" - ."\n" - .'* none: No configuration is required.'."\n" - .'* ip: CIDR block.'."\n" - .'* referer: security domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'none', - ], - 'Ip' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.252.126.0/24', + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The project of Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The project of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test-project', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'LogStore' => [ + 'description' => 'The Logstore of Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Logstore of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => ' test-logstore', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "__topic__".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "__topic__".', 'type' => 'string', 'required' => false, 'example' => 'testTopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content sent to Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'To grant authorization to the event bus EventBridge to use this role to read Simple Log Service log content, the following conditions must be met: when creating the role used by the service in the Resource Access Management (RAM) console, select "Alibaba Cloud Service" and set "Trusted Service" to "event bus".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'To grant authorization to the event bus EventBridge to use this role to read Simple Log Service log content, the following conditions must be met: when creating the role used by the service in the Resource Access Management (RAM) console, select "Alibaba Cloud Service" and set "Trusted Service" to "event bus".', 'type' => 'string', 'required' => false, 'example' => 'testRole', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentType' => [ + 'description' => 'The Simple Log Service data format. You can select the default format or configure a specific key-value format. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentSchema' => [ + 'description' => 'The custom log key-value pairs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', 'title' => ''], + 'Form' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'Referer' => [ - 'description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aliyundoc.com '."\n", + 'SinkDataHubParameters' => [ + 'description' => 'The Sink DataHub parameters.', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The DataHub project name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub project name.', 'type' => 'string', 'required' => false, 'example' => 'demo-project', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The DataHub topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub topic name.', 'type' => 'string', 'required' => false, 'example' => 'demo-topic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopicType' => [ + 'description' => 'The topic type. Valid values: '."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic type. Valid values: '."\n" + .'- TUPLE'."\n" + .'- BLOB', 'type' => 'string', 'required' => false, 'example' => 'TUPLE', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopicSchema' => [ + 'description' => 'The topic content schema for the TUPLE type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic content schema for the TUPLE type.', 'type' => 'string', 'required' => false, 'example' => '{"k1":"value1","k2":"value2"}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => '{"k1":"${k1}","k2":"${k2}"}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The record content template for the BLOB type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The record content template for the BLOB type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'ORIGINAL', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The task role name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The task role name.', 'type' => 'string', 'required' => false, 'example' => 'test-role', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceKafkaParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if the event source is Message Queue for Apache Kafka.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cbwp-bp1o3m66wcjgbkssm3k5m', - ], - 'ConsumerGroup' => [ - 'description' => 'The ID of the consumer group that subscribes to the topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dsp_online_ml_request', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'billing_notify', - ], - 'OffsetReset' => [ - 'description' => 'The consumer offset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'latest', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the Message Queue for Apache Kafka instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'MaximumTasks' => [ - 'description' => 'The maximum number of consumers.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'Network' => [ - 'description' => 'The network. Valid values: Default and PublicNetwork. Default value: Default. The value PublicNetwork indicates a self-managed network.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Message Queue for Apache Kafka instance belongs. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-5wz3mjgo9wpvdnwpwnhkjdjwn', - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC in which the Message Queue for Apache Kafka instance resides. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zefu4vfmx6siogujmo0b', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated. This parameter is required only if you set Network to PublicNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1xyntcxiwplhqxjybuk', - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'SourceOSSEventParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EventTypes' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'StsRoleArn' => [ - 'type' => 'string', - ], - 'MatchRules' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'array', - 'items' => [ + 'SinkFnfParameters' => [ + 'description' => 'The Sink Fnf parameters.', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => 'The flow name.', 'type' => 'object', 'properties' => [ - 'Suffix' => [ + 'Value' => ['description' => 'The flow name.', 'type' => 'string', 'required' => false, 'example' => 'test-streaming-fnf', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'MatchState' => [ - 'type' => 'boolean', + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ExecutionName' => [ + 'description' => 'The execution name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution name.', 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.'."\n" + ."\n" + .'- JSONPATH: partial event'."\n" + .'- CONSTANT: constant'."\n" + .'- TEMPLATE: template'."\n" + ."\n" + .'For more information, see [https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation](https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation).', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT', 'TEMPLATE' => 'TEMPLATE'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'Prefix' => [ + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Input' => [ + 'description' => 'The execution input information.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution input information.', 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event'."\n" + .'- JSONPATH: partial event'."\n" + .'- CONSTANT: constant'."\n" + .'- TEMPLATE: template'."\n" + ."\n" + .'For more information, see [https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation](https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation).', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT', 'ORIGINAL' => 'ORIGINAL', 'TEMPLATE' => 'TEMPLATE'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], - 'Name' => [ + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The role configuration.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The role configuration.', 'type' => 'string', 'required' => false, 'example' => 'Al****FNF-x****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', ], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'c057d379-ea65-41ec-a8a8-90627a968204', - ], - 'Data' => [ - 'description' => 'The result of the operation.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => 'The returned response code. Valid values:'."\n" - ."\n" - .'* Success: The request is successful.'."\n" - .'* Other codes: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"c057d379-ea65-41ec-a8a8-90627a9****\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateEventSource', - 'description' => 'You can call this API operation to update an event source.'."\n", - ], - 'DeleteTargets' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '38579', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], - ], - 'parameters' => [ - [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - ], - ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ramrolechange-mns', - ], - ], - [ - 'name' => 'TargetIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the event targets that you want to delete.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the event target.'."\n" - ."\n" - .'* Note:'."\n" - ."\n" - .'You can call the GetRule operation to query the IDs of event targets.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '12', - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventBusNotExist', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '78FA9EAC-F0C0-58B0-871E-9F9756CE1D29', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", + 'SinkPrometheusParameters' => [ + 'description' => 'The Sink Prometheus parameters.', 'type' => 'object', 'properties' => [ - 'ErrorEntriesCount' => [ - 'description' => 'The number of event bodies that failed to be processed. Valid values: 0: No event bodies failed to be processed. An integer other than 0: the number of event bodies that failed to be processed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'URL' => [ + 'description' => 'The Prometheus Remote Write URL.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Prometheus Remote Write URL.', 'type' => 'string', 'required' => false, 'example' => 'https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'The template style (empty when Form is CONSTANT).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'ErrorEntries' => [ - 'description' => 'The information about the event body that failed to be processed.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ErrorMessage' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'The id of event target is duplicate!', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'EventRuleTargetIdDuplicate', - ], - 'EntryId' => [ - 'description' => 'The ID of the event body that failed to be processed.'."\n", - 'type' => 'string', - 'example' => 'target5', - ], + 'HeaderParameters' => [ + 'description' => 'The data structure of request header parameters.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '- If Form is CONSTANT: the constant value.'."\n" + .'- If Form is JSONPATH: the JSONPath-extracted content.'."\n" + .'- If Form is TEMPLATE: the template variable.'."\n" + ."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format.', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT', 'TEMPLATE' => 'TEMPLATE'], + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + 'title' => '', ], + 'Template' => ['description' => 'The HTTP request header template style. Specify this parameter when Form is set to TEMPLATE. The result after event content transformation must be in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "user_name":"${name}"'."\n" + .'}', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - ], - 'Code' => [ - 'description' => 'The response code. The code 200 indicates that the request was successful. Other codes indicate that the request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"78FA9EAC-F0C0-58B0-871E-9F9756CE1D29\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"target5\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteTargets', - 'summary' => 'Deletes one or more event targets of an event rule.', - 'description' => 'You can call this API operation to delete one or more event targets of an event rule.'."\n", - 'requestParamsDescription' => 'Sample request: \\`POST /openapi/deleteTargets HTTP/1.1 Host: 123456789098\\*\\*\\*\\*.eventbridge.cn-hangzhou.aliyuncs.com Date: Sat, 18 Apr 2020 05:30:41 GMT x-eventbridge-version: 2020-04-01 Authorization: acs vZ3VL0SuJdHi\\*\\*\\*\\*:Jo2PbT\\*\\*\\*\\*\\*4azYAYoYslKLvWzg= Content-type: application/json;charset=UTF-8 Content-Length: 26'."\n" - ."\n" - .'{ "EventBusName":"default", "RuleName":"myRule", "TargetIds": \\[ "targetId1", "targetId2" ] }\\`'."\n", - ], - 'PutTargets' => [ - 'summary' => 'Creates or updates event targets under a rule.', - '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' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eventTest', - ], - ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ssr-send-to-vendor-test01'."\n", - ], - ], - [ - 'name' => 'Targets', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The event targets to be created or updated. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event target to be created or updated.'."\n", - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the event target.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Mlm123456JHd2RsRoKw', - ], - 'Type' => [ - 'description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'acs.fc.function ', - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', - ], - 'PushRetryStrategy' => [ - 'description' => 'The retry policy to be used to push events. Valid values:'."\n" - ."\n" - .'* **BACKOFF_RETRY**: backoff retry. A failed event can be retried up to three times. The interval between two consecutive retries is a random value from 10 seconds to 20 seconds.'."\n" - .'* **EXPONENTIAL_DECAY_RETRY**: exponential decay retry. A failed event can be retried up to 176 times. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. The total retry time is 1 day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds is used for 167 retries.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BACKOFFRETRY', - ], - 'DeadLetterQueue' => [ - 'description' => 'The dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue. You can use queues in ApsaraMQ for RocketMQ, Simple Message Queue (SMQ, formerly MNS), and ApsaraMQ for Kafka as dead-letter queues. You can also use event buses in EventBridge as dead-letter queues.'."\n", - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'title' => '死信队列ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue or acs:mq:cn-hangzhou:123456789098****:/instances/MQ_INST_123456789098****_BX8QbBPL/topic/deadlettertopic or acs:alikafka:cn-hangzhou:123456789098****:instance/alikafka_post-cn-123456/topic/deadlettertopic or acs:eventbridge:cn-hangzhou:123456789098****:eventbus/deadletterbus', - ], - 'Network' => [ - 'type' => 'string', - 'required' => false, + 'AuthorizationType' => [ + 'description' => 'The authentication method.', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => 'The authentication method.', + 'enumValueTitles' => ['BASIC_AUTH' => 'BASIC_AUTH'], + 'type' => 'string', + 'required' => false, + 'example' => 'BASIC_AUTH', + 'title' => '', + ], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Username' => [ + 'description' => 'The username.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => '****admin', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], - 'VSwitchIds' => [ - 'type' => 'string', - 'required' => false, + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'description' => 'The password.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The password.', 'type' => 'string', 'required' => false, 'example' => '*****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Data' => [ + 'description' => 'The metric content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The metric content.', 'type' => 'string', 'required' => false, 'example' => '$.data', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: JSONPATH.', 'type' => 'string', 'required' => false, 'example' => 'JSAONPATH', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. Valid values:'."\n" - ."\n" - .'* **ALL**: allows fault tolerance. If an error occurs, event processing is not blocked. If the message exceeds the number of retries specified by the retry policy, the message is delivered to a dead-letter queue or discarded based on your configurations.'."\n" - .'* **NONE**: prohibits fault tolerance. If an error occurs and the message exceeds the number of retries specified by the retry policy, event processing is blocked.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALL', - ], - 'ParamList' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", + 'NetworkType' => [ + 'description' => 'The network type.', 'type' => 'object', 'properties' => [ - 'ResourceKey' => [ - 'description' => 'The resource key of the event target. For more information, see [Event target parameters](~~185887~~).'."\n", + 'Value' => [ + 'description' => 'The network type.', + 'enumValueTitles' => ['PrivateNetwork' => 'PrivateNetwork', 'PublicNetwork' => 'PublicNetwork'], 'type' => 'string', 'required' => false, - 'example' => 'body', + 'example' => 'PrivateNetwork', + 'title' => '', ], 'Form' => [ - 'description' => 'The format of input parameters for the event target. For more information, see [Event target parameters](~~185887~~).'."\n", + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', 'required' => false, - 'example' => 'TEMPLATE', + 'example' => 'CONSTANT', + 'title' => '', ], - 'Value' => [ - 'description' => 'The event target.'."\n", + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'i-2ze7u5i17mbqtx1p****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', 'required' => false, - 'example' => '{\\"key\\"=\\"value\\"}', + 'example' => 'CONSTANT', + 'title' => '', ], - 'Template' => [ - 'description' => 'The structure of the template for the event target.'."\n", + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-dwaafds****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], 'type' => 'string', 'required' => false, - 'example' => 'The value of ${key} is ${value}! ', + 'example' => 'CONSTANT', + 'title' => '', ], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'ConcurrentConfig' => [ - 'description' => 'The concurrency configuration.'."\n", - 'type' => 'object', - 'properties' => [ - 'Concurrency' => [ - 'description' => 'The concurrency.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '34', + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-mw43*****', 'title' => ''], + 'Form' => [ + 'description' => 'The transformation format. Default value: CONSTANT.', + 'enumValueTitles' => ['CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'required' => false, + 'example' => 'CONSTANT', + 'title' => '', + ], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The event rule not existed!', + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'The Sink Kafka parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of ApsaraMQ for Kafka.', 'type' => 'string', 'required' => false, 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160'."\n", + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'The Sink Kafka connector parameters.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The OSS file download URL.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'Parses the properties file in the current ZIP package.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'required' => false, 'example' => 'mongo-sink', 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => 'The returned result.'."\n", + 'SinkDashVectorParameters' => [ + 'title' => '', + 'description' => 'The Sink DashVector parameters.', 'type' => 'object', 'properties' => [ - 'ErrorEntriesCount' => [ - 'description' => 'The number of failed event targets. Valid values:'."\n" + 'InstanceId' => ['title' => '', 'description' => 'The instance ID.', 'type' => 'string', 'example' => 'vrs-cn-lbj3ru1***', 'required' => false], + 'Collection' => ['title' => '', 'description' => 'The collection name.', 'type' => 'string', 'example' => 'collection1', 'required' => false], + 'ApiKey' => ['title' => '', 'description' => 'The API key created in the DashVector console.', 'type' => 'string', 'example' => 'Q34nExQH7sQ****', 'required' => false], + 'Operation' => [ + 'title' => '', + 'description' => 'The DashVector database operation type.', + 'enumValueTitles' => ['Delete' => 'Delete', 'Upsert' => 'Upsert'], + 'type' => 'string', + 'example' => 'Upsert', + 'required' => false, + ], + 'Network' => [ + 'title' => '', + 'description' => 'The network type.', + 'enumValueTitles' => ['PrivateNetwork' => 'PrivateNetwork', 'PublicNetwork' => 'PublicNetwork'], + 'type' => 'string', + 'example' => 'PublicNetwork', + 'required' => false, + ], + 'PrimaryKeyId' => [ + 'title' => '', + 'description' => 'The primary key ID for inserting or deleting records.'."\n" ."\n" - .'* 0: All event targets succeeded.'."\n" - .'* An integer other than 0: indicates the number of failed event targets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + .'> If this field is not specified, a random primary key ID is used.', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => '', + 'description' => 'The transformation format.', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'TEMPLATE' => 'TEMPLATE'], + 'type' => 'string', + 'example' => 'JSONPATH', + 'required' => false, + ], + 'Value' => ['title' => '', 'description' => '- If Form is JSONPATH: the JSONPath-extracted content.'."\n" + .'- If Form is TEMPLATE: the template variable.'."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.requestId', 'required' => false], + 'Template' => ['title' => '', 'description' => 'The primary key ID template. Specify this parameter only when Form is set to TEMPLATE.', 'type' => 'string', 'example' => '${ID}', 'required' => false], + ], + 'required' => false, + 'example' => '', ], - 'ErrorEntries' => [ - 'description' => 'The ID of the failed event target.'."\n", + 'Partition' => [ + 'title' => '', + 'description' => 'The partition. Default value: default.', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => '', + 'description' => 'The transformation format.', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH', 'CONSTANT' => 'CONSTANT'], + 'type' => 'string', + 'example' => 'CONSTANT', + 'required' => false, + ], + 'Value' => ['title' => '', 'description' => '- If Form is CONSTANT: the constant value.'."\n" + .'- If Form is JSONPATH: the JSONPath-extracted content.'."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => 'default', 'required' => false], + 'Template' => ['title' => '', 'description' => 'None.', 'type' => 'string', 'example' => '${partition}', 'required' => false], + ], + 'required' => false, + 'example' => '', + ], + 'Vector' => [ + 'title' => '', + 'description' => 'The vector of the record to insert into DashVector.', + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'title' => '', + 'description' => 'The transformation format.', + 'enumValueTitles' => ['JSONPATH' => 'JSONPATH'], + 'type' => 'string', + 'example' => 'JSONPATH', + 'required' => false, + ], + 'Value' => ['title' => '', 'description' => 'The JSONPath-extracted content.'."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.messageBody', 'required' => false], + 'Template' => ['title' => '', 'description' => 'None.', 'type' => 'string', 'example' => '${vector}', 'required' => false], + ], + 'required' => false, + 'example' => '', + ], + 'DashVectorSchemaParameters' => [ + 'title' => '', + 'description' => 'The schema field definition for table entries when inserting into DashVector. The result after event content transformation must be in JSON format.', 'type' => 'array', 'items' => [ - 'description' => '', + 'title' => '', + 'description' => 'The attribute column.', 'type' => 'object', 'properties' => [ - 'ErrorMessage' => [ - 'description' => 'The error message returned.', - 'type' => 'string', - 'example' => 'The id of event target is duplicate!', + 'Name' => [ + 'title' => '', + 'description' => 'The attribute name.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Form', 'type' => 'string', 'example' => 'CONSTANT', 'required' => false], + 'Value' => ['title' => '', 'description' => 'Value', 'type' => 'string', 'example' => 'content', 'required' => false], + 'Template' => ['title' => '', 'description' => 'Template', 'type' => 'string', 'example' => ' ', 'required' => false], + ], + 'required' => false, + 'example' => '', ], - 'ErrorCode' => [ - 'description' => 'The error code returned.', - 'type' => 'string', - 'example' => 'EventRuleTargetIdDuplicate', + 'Type' => [ + 'title' => '', + 'description' => 'The DashVector attribute type.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Form', 'type' => 'string', 'example' => 'CONSTANT', 'required' => false], + 'Value' => ['title' => '', 'description' => 'Value', 'type' => 'string', 'example' => 'STRING', 'required' => false], + 'Template' => ['title' => '', 'description' => 'Template', 'type' => 'string', 'example' => ' ', 'required' => false], + ], + 'required' => false, + 'example' => '', ], - 'EntryId' => [ - 'description' => 'The ID of the failed event target.', - 'type' => 'string', - 'example' => 'Mlm123456JHd2RsRoKw', + 'Value' => [ + 'title' => '', + 'description' => 'The attribute value.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['title' => '', 'description' => 'Form', 'type' => 'string', 'example' => 'JSONPATH', 'required' => false], + 'Value' => ['title' => '', 'description' => 'Value', 'type' => 'string', 'example' => '$.data.content', 'required' => false], + 'Template' => ['title' => '', 'description' => 'Template', 'type' => 'string', 'example' => '${content}', 'required' => false], + ], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'example' => '', ], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'example' => '', ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The call succeeded.'."\n" - .'* Other codes: The call failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* **true**: The request is successful.'."\n" - .'* **false**: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VirtualHostName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'TargetType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Exchange' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'QueueName' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Username' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Password' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'AuthType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'RoutingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SinkBaiLianParameters' => ['$ref' => '#/components/schemas/SinkBaiLianParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkDataWorksTriggerParameters' => ['$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkHttpsParameters' => ['$ref' => '#/components/schemas/SinkHttpsParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkApiDestinationParameters' => ['$ref' => '#/components/schemas/SinkApiDestinationParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkOSSParameters' => ['$ref' => '#/components/schemas/SinkOSSParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters', 'description' => '', 'title' => '', 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'RunOptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The runtime environment parameters.', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => ['title' => '', 'description' => 'The concurrency.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'ErrorsTolerance' => ['title' => '', 'description' => 'The exception tolerance policy. Valid values:'."\n" + .'- NONE: No exceptions are tolerated.'."\n" + .'- ALL: All exceptions are tolerated.', 'type' => 'string', 'required' => false, 'example' => 'ALL'], + 'RetryStrategy' => [ + 'description' => 'The retry policy when event delivery fails.', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => ['title' => '', 'description' => 'The retry policy. Valid values:'."\n" + .'- BACKOFF_RETRY: backoff retry.'."\n" + .'- EXPONENTIAL_DECAY_RETRY: exponential decay retry.', 'type' => 'string', 'required' => false, 'example' => 'BACKOFF_RETRY'], + 'MaximumEventAgeInSeconds' => ['title' => '', 'description' => 'The maximum retry time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '512'], + 'MaximumRetryAttempts' => ['title' => '', 'description' => 'The maximum number of retry attempts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DeadLetterQueue' => [ + 'description' => 'Specifies whether to enable the dead-letter queue. The dead-letter queue is disabled by default. Messages that exceed the retry policy are discarded.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['title' => '', 'description' => 'The ARN of the dead-letter queue.', 'type' => 'string', 'required' => false, 'example' => 'acs:ram::131733464781****:role/rdstoecsassumekms'], + 'Network' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'BatchWindow' => [ + 'description' => 'The batch window.', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => ['description' => 'The maximum number of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'TimeBasedWindow' => ['description' => 'The maximum time range (in seconds) of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Transforms', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The Transform-related configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud service, such as the ARN of a function in Function Compute.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud service, such as the ARN of a function in Function Compute.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', 'title' => ''], + 'DashScopeTransformParameters' => ['$ref' => '#/components/schemas/DashScopeTransformParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'EmbeddingTransformParameters' => ['$ref' => '#/components/schemas/EmbeddingTransformParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '', + 'description' => 'The tag list. A maximum of 20 items are supported.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Value' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The request parameters.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The name [xxxx] of event streaming in request is already exist!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C36****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'EventStreamingARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event stream.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + .'- Success: The request was successful. '."\n" + .'- Other values: An error occurred. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Create an event stream', + 'summary' => 'Creates an event stream.', + 'description' => 'Creates an event stream.', + 'changeSet' => [ + ['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-07T07:28:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-10T05:42:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-09T03:30:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-19T09:20:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-31T06:16:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-21T08:40:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-19T06:14:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-25T08:13:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-28T06:31:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-22T14:16:58.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI offline'], + ], + '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}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + '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"}]', + 'translator' => 'machine', + ], + 'CreateNamespace' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], + 'tenantRelevance' => 'tenant', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"6FB52207-7621-5292-BDF2-A17E2E984160\\\\n\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"Mlm123456JHd2RsRoKw\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'PutTargets', - 'description' => 'You can call this API operation to create or update event targets under a rule.'."\n", + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Remarks', 'type' => 'string', 'example' => '测试命名空间', 'required' => false], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotent Token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'API response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Response data', + 'type' => 'object', + 'properties' => [ + 'NamespaceARN' => ['title' => '', 'description' => 'Namespace ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace'], + ], + 'example' => '', + ], + 'Code' => ['title' => '', 'description' => 'API response code, 200 indicates success', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Create Namespace', + 'summary' => 'Create Namespace', + '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"}]', + 'translator' => 'manual', ], 'CreateRule' => [ 'summary' => 'Creates an event rule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3958,191 +4752,120 @@ 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeCode' => '38627', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'abilityTreeNodes' => ['FEATUREeventbridgeS2QNZ9'], ], 'parameters' => [ [ 'name' => 'EventBusName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - ], + 'schema' => ['description' => 'The name of the event bus.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the event bus.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The description of the event rule.', 'type' => 'string', 'example' => 'SMQ filter rule', 'required' => false, 'title' => ''], ], [ 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MNSRule', - ], + 'schema' => ['description' => 'The name of the event rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SMQRule', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the event rule. Valid values: ENABLE: enables the event rule. It is the default status of the event rule. DISABLE: disables the event rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ENABLE', - ], + 'schema' => ['description' => 'The status of the event rule. Valid values: `ENABLE`: The rule is enabled. This is the default value. `DISABLE`: The rule is disabled.', 'type' => 'string', 'required' => false, 'example' => 'ENABLE', 'title' => ''], ], [ 'name' => 'FilterPattern', 'in' => 'query', - 'schema' => [ - 'description' => 'The event pattern, in JSON format. Valid values: stringEqual and stringExpression. You can specify up to five expressions in the map data structure in each field.'."\n" - ."\n" - .'You can specify up to five expressions in the map data structure in each field.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{\\"source\\": [{\\"prefix\\": \\"acs.\\"}],\\"type\\": [{\\"prefix\\":\\"oss:ObjectReplication\\"}],\\"subject\\":[{\\"prefix\\":\\"acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/\\", \\"suffix\\":\\".txt\\"}]}', - ], + 'schema' => ['description' => 'The event pattern, in JSON format. Supported pattern types are `stringEqual` and `stringExpression`. Each field can contain a maximum of five expressions in a map structure.', '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" + .'}', 'title' => ''], ], [ 'name' => 'EventTargets', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The event targets.'."\n", + 'description' => 'A list of event targets.', 'type' => 'array', 'items' => [ - 'description' => 'The event target.'."\n", + 'description' => 'An event target.', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the event target.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '12021', - ], - 'Type' => [ - 'description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'acs.mns.queue ', - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue ', - ], - 'PushRetryStrategy' => [ - 'description' => 'The retry policy that you want to use to push failed events. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY. BACKOFF_RETRY: A failed event can be retried up to three times. The interval between two consecutive retries is a random value from 10 seconds to 20 seconds. EXPONENTIAL_DECAY_RETRY: A failed event can be retried up to 176 times. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. The total retry time is 1 day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds is used for 167 retries.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BACKOFF_RETRY', - ], + 'Id' => ['description' => 'The custom ID of the event target.', 'type' => 'string', 'required' => true, 'example' => 'Mlm123456JHd2RsRoKw'."\n", 'title' => ''], + 'Type' => ['description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'required' => true, 'example' => 'acs.mns.queue ', 'title' => ''], + 'Endpoint' => ['description' => 'The delivery endpoint for events.', 'type' => 'string', 'required' => false, 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue ', 'title' => ''], + 'PushRetryStrategy' => ['description' => 'The push retry strategy. Valid values:
`BACKOFF_RETRY`: A backoff retry strategy where the system makes three retry attempts at random intervals of 10 to 20 seconds.
`EXPONENTIAL_DECAY_RETRY`: An exponential decay retry strategy where the system makes 176 retry attempts over 24 hours. The interval starts at 1 second and doubles with each of the first 10 attempts (up to 512 seconds). Subsequent retries occur every 512 seconds.

', 'type' => 'string', 'required' => false, 'example' => 'BACKOFF_RETRY', 'title' => ''], 'DeadLetterQueue' => [ - 'description' => 'The dead-letter queue. Events that are not processed or whose maximum number of retries is exceeded are written to the dead-letter queue. You can use queues in ApsaraMQ for RocketMQ, Simple Message Queue (SMQ, formerly MNS), and ApsaraMQ for Kafka as dead-letter queues. You can also use event buses in EventBridge as dead-letter queues.'."\n", + 'description' => 'The dead-letter queue. If an event fails to be processed or exceeds the retry limit, it is sent to the dead-letter queue. Supported services for the dead-letter queue include Message Queue for Apache RocketMQ, Message Service (MNS), Message Queue for Apache Kafka, and EventBridge event buses.', 'type' => 'object', 'properties' => [ - 'Arn' => [ - 'title' => '死信队列ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum number of retries is exceeded are written to the dead-letter queue. Queues in SMQ and ApsaraMQ for RocketMQ can be used as dead-letter queues.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:mns:cn-hangzhou:123456789098****:/queues/rule-deadletterqueue', - ], - 'Network' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that fail to be processed or exceed the retry limit are sent to this ARN. Supported services for this parameter include Message Service (MNS) and Message Queue for Apache RocketMQ.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue'."\n"], + 'Network' => ['description' => 'The network type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. Valid values: ALL and NONE. The value ALL specifies that fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. The value NONE specifies that fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALL', - ], + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values:
`ALL`: Enables fault tolerance. Execution continues even if an error occurs. After all retry attempts fail, the event is sent to the dead-letter queue (if configured) or discarded.
`NONE`: Disables fault tolerance. Execution is blocked if an error occurs and all retry attempts fail.

', 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], 'ParamList' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", + 'description' => 'The parameters for the event target.', 'type' => 'array', 'items' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", + 'description' => 'A single parameter for the event target.', 'type' => 'object', 'properties' => [ - 'ResourceKey' => [ - 'description' => 'The resource key of the event target. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'body', - ], - 'Form' => [ - 'description' => 'The format of input parameters for the event target. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Value' => [ - 'description' => 'The value of the event target parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"key\\"=\\"value\\"}', - ], - 'Template' => [ - 'description' => 'The structure of the template for the event target.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}! ', - ], + 'ResourceKey' => ['description' => 'The name of the target parameter. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'body', 'title' => ''], + 'Form' => ['description' => 'The format of the event target parameter. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Value' => ['description' => 'The value of the event target parameter.', 'type' => 'string', 'required' => false, 'example' => '{"key"="value"}', 'title' => ''], + 'Template' => ['description' => 'The template for the event target parameter.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}! ', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], 'ConcurrentConfig' => [ - 'description' => 'The concurrency configuration.'."\n", + 'description' => 'The concurrency control configuration.', 'type' => 'object', 'properties' => [ - 'Concurrency' => [ - 'description' => 'The concurrency.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'Concurrency' => ['description' => 'The maximum number of concurrent executions for the event target.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, 'docRequired' => true, + 'title' => '', + 'example' => '', ], ], ], @@ -4151,48 +4874,29 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1AD6D598-7506-5D2C-81EA-30E3241A903A', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1AD6D598-7506-5D2C-81EA-30E3241A903A', 'title' => ''], 'Data' => [ - 'description' => 'The returned data.'."\n", + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'RuleARN' => [ - 'description' => 'The ARN of the event rule. The ARN is used for authorization.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule', - ], + 'RuleARN' => ['description' => 'The ARN of the event rule, which is used for authorization.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The returned HTTP status code. The HTTP status code 200 indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Code' => ['description' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. A value of true indicates that the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], 'eventInfo' => [ @@ -4201,22 +4905,74 @@ ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx\\",\\n \\"RequestId\\": \\"1AD6D598-7506-5D2C-81EA-30E3241A903A\\",\\n \\"Data\\": {\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', 'title' => 'CreateRule', - 'description' => 'You can call this API operation to create an event rule.'."\n", - 'requestParamsDescription' => 'Sample requests'."\n" + 'description' => 'Creates an event rule.', + 'requestParamsDescription' => 'Sample request'."\n" ."\n" - .'POST /openapi/createRule HTTP/1.1 Host: 123456789098\\*\\*\\*\\*.eventbridge.cn-hangzhou.aliyuncs.com Date: Sat, 18 Apr 2020 05:30:41 GMT x-eventbridge-version: 2020-04-01 Authorization: acs vZ3VL0SuJdHi\\*\\*\\*\\*:Jo2PbT\\*\\*\\*\\*\\*\\*azYAYoYslKLvWzg= Content-Type: application/json;charset=UTF-8 Content-Length: 26'."\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" - .'{ "EventBusName":"default", "RuleName":"MNSRule", "Description":"Filtering rule for MNS", "Status":"ENABLE", "filterPattern":"{"source": \\[{"prefix": "acs."}],"type": \\[{"prefix":"oss:ObjectReplication"}],"subject":\\[{"prefix":"acs:oss:cn-hangzhou:123456789098\\*\\*\\*\\*:my-movie-bucket/", "suffix":".txt"}]}", "Targets":\\[ { "Id":"1", "Type":"acs.mns.queue", "Endpoint":"acs:mns:cn-hangzhou:123456789098\\*\\*\\*\\*:queues/myqueue", "PushRetryStrategy":"BACKOFF_RETRY", "DeadLetterQueue":{ "Arn":"acs:mns:cn-hangzhou:123456789098\\*\\*\\*\\*:/queues/rule-deadletterqueue" }, "ParamList":\\[ { "resourceKey":"queue", "form":"CONSTANT", "value":"myqueue" }, { "resourceKey":"body", "form":"TEMPLATE", "value":"{"key"="value"}", "template":"The value of ${key} is ${value}!" } ] } ] }'."\n", - ], - 'DeleteRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'{'."\n" + .'"EventBusName":"default",'."\n" + .'"RuleName":"MNSRule",'."\n" + .'"Description":"Filter rule for 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' => 'Request parameters changed'], + ['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-29T11:06:15.000Z', 'description' => 'Request parameters changed'], + ], + '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}'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'CreateServiceLinkedRoleForProduct' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4225,88 +4981,113 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '38586', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38602', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX', 'FEATUREeventbridgeR7SE45', 'FEATUREeventbridgeS2QNZ9', 'FEATUREeventbridge6VIARK', 'FEATUREeventbridgeWAGKXS'], ], 'parameters' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'tf-testacc-event-bus', - ], - ], - [ - 'name' => 'RuleName', + 'name' => 'ProductName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ramrolechange-mns', - ], + 'schema' => ['description' => 'The name of the cloud service or the service-linked role (SLR) that is associated with the service.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToFC: Delivers events to Function Compute (FC).'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToSMS: Delivers events as text messages to Short Message Service (SMS).'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToDirectMail: Delivers events as emails to Alibaba Cloud DirectMail.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceRocketMQ: Integrates messages from ApsaraMQ for RocketMQ instances into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceMNS: Integrates Message Service (MNS) into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeConnectVPC: Lets EventBridge access your Virtual Private Cloud (VPC) network.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceActionTrail: Uses operation records from ActionTrail as event sources.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceRabbitMQ: Integrates ApsaraMQ for RabbitMQ instances into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToRabbitMQ: Delivers EventBridge events to ApsaraMQ for RabbitMQ instances.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToRocketMQ: Delivers EventBridge events to ApsaraMQ for RocketMQ instances.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceCMS: Integrates CloudMonitor (CMS) into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToKafka: Delivers EventBridge events to ApsaraMQ for Kafka clusters.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceKafka: Integrates ApsaraMQ for Kafka into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToRDS: Delivers EventBridge events to Relational Database Service (RDS) instances.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSendToSAE: Delivers EventBridge events to Serverless App Engine (SAE) applications.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceMqtt: Integrates ApsaraMQ for MQTT into EventBridge.'."\n" + ."\n" + .'- AliyunServiceRoleForEventBridgeSourceSLS: Integrates Simple Log Service (SLS) into EventBridge.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AliyunServiceRoleForEventBridgeSendToMNS', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The event rule not existed!'."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The returned message. If the request is successful, \\`success\\` is returned.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C36345A1-75F3-5A1A-BFCF-33B8271971FA', 'title' => ''], + 'Code' => ['description' => 'The status code of the request. \\`Success\\` indicates that the request was successful. For more information about error codes, see the Error codes section.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. If the request is successful, \\`true\\` is returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'HttpCode' => ['description' => 'The HTTP status code. Valid values:'."\n" + ."\n" + .'- **2xx**: a 2xx status code.'."\n" + ."\n" + .'- **3xx**: a 3xx status code.'."\n" + ."\n" + .'- **4xx**: a 4xx status code.'."\n" + ."\n" + .'- **5xx**: a 5xx status code.'."\n" + ."\n" + .'If this parameter is not specified, all HTTP status codes are queried.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\\\n\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteRule', - 'summary' => 'Deletes an event rule.', - 'description' => 'You can call this API operation to delete an event rule.'."\n", - ], - 'DisableRule' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateServiceLinkedRoleForProduct', + 'summary' => 'Creates the service-linked role (SLR) that is associated with a specified product.', + 'description' => 'Creates the service-linked role (SLR) that is associated with a specified product.', + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:30.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eventbridge:CreateServiceLinkedRoleForProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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"}]', + 'translator' => 'manual', + ], + 'CreateTable' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4315,33 +5096,77 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '38645', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'EventBusName', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The name of the table.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The data catalog to which the table belongs.', 'type' => 'string', 'required' => false, 'example' => 'my_catalog', 'maxLength' => 255], + ], + [ + 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The idempotency token.', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The namespace to which the table belongs.', 'type' => 'string', 'example' => 'my_namespace', 'required' => false], + ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => '测试事件表', 'required' => false], + ], + [ + 'name' => 'Columns', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', + 'title' => '', + 'description' => 'The column definitions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The column.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the connector.', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + 'Type' => ['description' => 'The type of the column.', 'type' => 'string', 'required' => false, 'example' => 'ehpc_cluster', 'title' => ''], + 'Comment' => ['description' => 'The description of the field.', 'type' => 'string', 'required' => false, 'example' => 'Isp', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '[{"Name":"id","Type":"bigint","Comment":"主键"}]', ], ], [ - 'name' => 'RuleName', + 'name' => 'RetentionPolicy', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'tf-testacc-rule', + 'title' => '', + 'description' => 'The data retention policy.', + 'type' => 'object', + 'properties' => [ + 'HotTTL' => ['description' => 'The hot storage retention time.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], + 'ColdTTL' => ['description' => 'The cold storage retention time.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], + ], + 'required' => false, + 'example' => '{"HotTTL":7,"ColdTTL":30}', ], ], ], @@ -4350,53 +5175,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventRuleNotExisted', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C36345A1-75F3-5A1A-BFCF-33B8271971FA', - ], - 'Code' => [ - 'description' => 'The error code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', + 'Message' => ['title' => '', 'description' => 'The response message.', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'TableARN' => ['title' => '', 'description' => 'The ARN of the table.', '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' => 'The response code.', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B82719****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DisableRule', - 'summary' => 'Disables an event rule.', - 'description' => 'You can call this API operation to disable an event rule.'."\n", - ], - 'EnableRule' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'Create a table', + 'summary' => 'Create a data catalog', + 'description' => 'Creates an event target under the specified rule.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + '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"}]', + 'translator' => 'machine', + ], + 'DeleteAgent' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -4405,34 +5234,18 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '38583', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163683', + 'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MyEventBus', - ], - ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ramrolechange', - ], + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the agent.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'my-agent', 'title' => ''], ], ], 'responses' => [ @@ -4440,53 +5253,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'EventRuleNotExisted', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', - ], - 'Code' => [ - 'description' => 'The error code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx', 'title' => ''], + 'Code' => ['description' => 'The API status or POP error code. Valid values:'."\n" + .'- Success: the operation is successful.', 'type' => 'string', 'example' => 'AgentNotFound', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + 409 => [ + ['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''], + ['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'EnableRule', - 'summary' => 'Enables an event rule.', - 'description' => 'You can call this API operation to enable an event rule.'."\n", - ], - 'UpdateRule' => [ - 'methods' => [ - 'post', - 'get', + 'title' => 'Delete a custom agent', + 'summary' => 'Deletes a custom agent.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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' => 'Deletes an API destination.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4495,66 +5306,15 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '38598', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '163683', + 'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'], ], 'parameters' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hw-test', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the event bus.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'tf-testacc-rule', - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the event rule. Valid values: ENABLE: The event rule is enabled. It is the default state of the event rule. DISABLE: The event rule is disabled.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ENABLE', - ], - ], - [ - 'name' => 'FilterPattern', + 'name' => 'ApiDestinationName', 'in' => 'query', - 'schema' => [ - 'description' => 'The event pattern, in JSON format. Valid values: stringEqual stringExpression Each field can have a maximum of five expressions in the map data structure.'."\n" - ."\n" - .'Each field can have a maximum of five expressions in the map data structure.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', - ], + 'schema' => ['description' => 'The name of the API destination.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ApiDestinationName', 'title' => ''], ], ], 'responses' => [ @@ -4562,301 +5322,196 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'EventRuleFilterPatternSchemaError', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7439944D-D9FC-5614-B65E-07A468988924', - ], - 'Data' => [ - 'description' => 'The result of the operation.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => 'The response code. The value Success indicates that the request was successful. Other values indicate that the request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + 409 => [ + ['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''], + ['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleFilterPatternSchemaError\\",\\n \\"RequestId\\": \\"7439944D-D9FC-5614-B65E-07A468988924\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateRule', - 'summary' => 'Updates the configurations of an event rule.', - 'description' => 'You can call this API operation to update the configurations of an event rule.'."\n", - ], - 'GetRule' => [ - 'summary' => 'Queries the details of an event rule.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => 'DeleteApiDestination', + 'description' => 'You can call this API operation to delete an API destination.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + ], + 'DeleteConnection' => [ + 'summary' => 'Deletes a connection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '38640', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '163693', + 'abilityTreeNodes' => ['FEATUREeventbridgeRBNSGL'], ], 'parameters' => [ [ - 'name' => 'EventBusName', + 'name' => 'ConnectionName', 'in' => 'query', + 'schema' => ['description' => 'The name of the connection that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'connection-name', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8EF25E37-1750-5D7A-BA56-F8AE081A69C8', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + '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' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8EF25E37-1750-5D7A-BA56-F8AE081A69C8\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => 'DeleteConnection', + 'description' => 'You can call this API operation to delete a connection.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed'], + ], + 'ramActions' => [ [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ram-changes', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteConnection', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Connection', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:connection/{#ConnectionName}'], + ], ], ], ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConnection'], + ], + ], + ], + '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' => 'The name of the event bus.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The event rule not existed!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2BC1857D-E633-5E79-B2C2-43EF5F7730D8', - ], - 'Data' => [ - 'description' => 'The returned parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the event rule. Valid values: ENABLE (default): The event rule is enabled. DISABLE: The event rule is disabled.'."\n", - 'type' => 'string', - 'example' => 'ENABLE', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'Housekeeping-Bus', - ], - 'RuleARN' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event rule.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', - ], - 'Description' => [ - 'description' => 'The description of the event rule.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'Targets' => [ - 'description' => 'The event targets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'DetailMap' => [ - 'description' => 'The information about the event target.'."\n", - 'type' => 'object', - ], - 'Type' => [ - 'description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).'."\n", - 'type' => 'string', - 'example' => 'acs.mns.queue', - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target.'."\n", - 'type' => 'string', - 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', - ], - 'ParamList' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The event target.'."\n", - 'type' => 'string', - 'example' => '{\\"key\\"=\\"value\\"}', - ], - 'Template' => [ - 'description' => 'The template based on which events are delivered to the event target.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - 'Form' => [ - 'description' => 'The format that is used by the event target parameter. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'ResourceKey' => [ - 'description' => 'The resource key of the event target. For more information, see [Limits](~~163289~~).'."\n", - 'type' => 'string', - 'example' => 'body', - ], - ], - ], - ], - 'PushSelector' => [ - 'description' => 'The transformer that is used to push events.'."\n", - 'type' => 'string', - 'example' => 'MATCHED_EVENT', - ], - 'Id' => [ - 'description' => 'The ID of the event target.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'DeadLetterQueue' => [ - 'description' => 'The dead-letter queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'title' => '死信队列ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source', - ], - 'Network' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - ], - ], - 'PushRetryStrategy' => [ - 'description' => 'The retry policy that is used to push failed events. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY. BACKOFF_RETRY: backoff retry. A failed event can be retried up to three times. The interval between two consecutive retries is a random value between 10 seconds and 20 seconds. EXPONENTIAL_DECAY_RETRY: exponential decay retry. A failed event can be retried up to 176 times. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. The total retry time is 1 day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds is used for 167 retries.'."\n", - 'type' => 'string', - 'example' => 'BACKOFF_RETRY', - ], - 'ConcurrentConfig' => [ - 'type' => 'object', - 'properties' => [ - 'Concurrency' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. Valid values: ALL and NONE. ALL: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. NONE: Fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.'."\n", - 'type' => 'string', - 'example' => 'ALL', - ], - ], - ], - ], - 'FilterPattern' => [ - 'description' => 'The event pattern, in JSON format. Valid values: stringEqual and stringExpression. You can specify up to five expressions in the map data structure in each field.'."\n" - ."\n" - .'You can specify up to five expressions in the map data structure in each field.', - 'type' => 'string', - 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', - ], - 'CreatedTimestamp' => [ - 'description' => 'The timestamp that indicates when the event rule was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1607071602000', - ], - 'RuleName' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'example' => 'ramrolechange-fc', - ], - ], - ], - 'Code' => [ - 'description' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For a list of error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. If the operation is successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID for the request, generated by Alibaba Cloud.', 'type' => 'string', 'example' => 'C229E140-1A5C-5D55-8904-CFC5BA4CAA98', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the event bus was found and deleted. A value of `false` is returned if the event bus did not exist.', 'type' => 'boolean', 'title' => '', 'example' => ''], + 'Code' => ['description' => 'The return code. A value of `200` indicates success. Other values indicate an error. For more information, see the list of error codes.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was processed successfully. This is `true` even if the specified event bus does not exist.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"2BC1857D-E633-5E79-B2C2-43EF5F7730D8\\",\\n \\"Data\\": {\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"Housekeeping-Bus\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"test\\",\\n \\"Targets\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Type\\": \\"acs.mns.queue\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"Id\\": \\"Mlm123456JHd2RsRoKw\\\\n\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Network\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"PushRetryStrategy\\": \\"BACKOFF_RETRY\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 0\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"ramrolechange-fc\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetRule', - 'description' => 'You can call this API operation to query the details of an event rule.'."\n", - ], - 'ListRules' => [ - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"C229E140-1A5C-5D55-8904-CFC5BA4CAA98\\",\\n \\"Data\\": false,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteEventBus', + 'summary' => 'Deletes an event bus.', + 'description' => 'Deletes an event bus.', + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:39.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteEventBus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'DeleteEventSource' => [ + 'summary' => 'Deletes an event source.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4865,54 +5520,93 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38589', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '38603', + 'abilityTreeNodes' => ['FEATUREeventbridgeR7SE45'], ], 'parameters' => [ [ - 'name' => 'RuleNamePrefix', - 'in' => 'query', - 'schema' => [ - 'description' => 'The prefix of the rule name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'name' => 'EventBusName', + 'in' => 'formData', + 'schema' => ['description' => 'The event bus to which the event source is attached.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], [ - 'name' => 'Limit', - 'in' => 'query', + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the event source.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'myrabbitmq.source'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The maximum number of entries to be returned in a single call. You can use this parameter and the NextToken parameter to implement paging. A maximum of 100 entries can be returned in a single call.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID that is generated by Alibaba Cloud.', 'type' => 'string', 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', 'title' => ''], + 'Code' => ['description' => 'The status code. A value of `Success` indicates that the call is successful. For more information about other values, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the call is successful. A value of `true` is returned on success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"5f80e9b3-98d5-4f51-8412-c758818a03e4\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteEventSource', + 'description' => 'Deletes an event source.', + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'ramActions' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you set the Limit parameter and excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1000', + '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}'], + ], ], ], + ], + 'translator' => 'manual', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventSource'], + ], + ], + ], + 'DeleteEventStreaming' => [ + 'summary' => 'Deletes an event stream.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'default', - ], + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38621', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO'], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The name of the event stream to delete.', 'type' => 'string', 'required' => true, 'maxLength' => 255, 'minLength' => 2, 'title' => '', 'example' => 'rocketmq-sync'], ], ], 'responses' => [ @@ -4920,168 +5614,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'Specified parameter Limit is not valid.', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C7043799-F4DA-5290-9249-97C359876D97', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '1000', - ], - 'Total' => [ - 'description' => 'The total number of entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'Rules' => [ - 'description' => 'The event rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'DetailMap' => [ - 'description' => 'The details of the event rule.', - 'type' => 'object', - ], - 'Status' => [ - 'description' => 'The status of the event rule. Valid values:'."\n" - ."\n" - .'* **ENABLE** (default)'."\n" - .'* **DISABLE**'."\n", - 'type' => 'string', - 'example' => 'ENABLE', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.', - 'type' => 'string', - 'example' => 'demo', - ], - 'RuleARN' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', - ], - 'Description' => [ - 'description' => 'The rule description.', - 'type' => 'string', - 'example' => 'demo', - ], - 'Targets' => [ - 'description' => 'The event targets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of the event target. For more information, see [Event target parameters.](https://www.alibabacloud.com/help/en/eventbridge/latest/event-target-parameters)', - 'type' => 'string', - 'example' => 'acs.mns.queue'."\n", - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target.', - 'type' => 'string', - 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', - ], - 'Id' => [ - 'description' => 'The ID of the custom event target.', - 'type' => 'string', - 'example' => '177', - ], - 'PushSelector' => [ - 'description' => 'The transformer that is used to push events.'."\n", - 'type' => 'string', - 'example' => 'MATCHED_EVENT', - ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. Valid values:'."\n" - ."\n" - .'* **ALL**: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations.'."\n" - .'* **NONE**: Fault tolerance is prohibited. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.'."\n", - 'type' => 'string', - 'example' => 'ALL', - ], - ], - ], - ], - 'FilterPattern' => [ - 'description' => 'The event pattern, in JSON format. Valid values:'."\n" - ."\n" - .'* **stringEqual**: Up to five expressions in the map data structure can be specified in each field.'."\n" - .'* **stringExpression**: Up to five expressions in the map data structure can be specified in each field.'."\n", - 'type' => 'string', - 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}'."\n", - ], - 'CreatedTimestamp' => [ - 'description' => 'The creation timestamp.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1607071602000', - ], - 'RuleName' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'example' => 'tf-testacc-rule', - ], - ], - ], - ], - ], - ], - 'Code' => [ - 'description' => 'The response code.'."\n" - ."\n" - .'* **Success**: The request was successful.'."\n" - .'* **Other codes**: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event streaming [xxxx] not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '499A9ACF-70CD-5D43-87F3-1B60529EE446', 'title' => ''], + 'Code' => ['description' => 'The return code. \\`Success\\` is returned if the request is successful. Otherwise, an error code is returned. For more information about error codes, see Error codes.'."\n" + ."\n" + .'Success: The request is successful.'."\n" + ."\n" + .'Other codes indicate that the request failed. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Total\\": 6,\\n \\"Rules\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"demo\\",\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.mns.queue\\\\n\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"Id\\": \\"Mlm123456JHd2Rs****\\",\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\\\n\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"tf-testacc-rule\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListRules', - 'summary' => 'Queries all rules of an event bus.', - 'description' => 'You can call this API operation to query all rules of an event bus.'."\n", - ], - 'ListEventStreamings' => [ - 'summary' => 'Queries event streams.', - 'methods' => [ - 'get', - 'post', + 'title' => 'DeleteEventStreaming', + 'description' => 'Deletes an event stream.', + 'changeSet' => [ + ['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-14T07:20:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventStreaming'], + ], ], - 'schemes' => [ - 'http', - 'https', + '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"}]', + 'translator' => 'manual', + ], + 'DeleteNamespace' => [ + 'summary' => 'Delete Namespace', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5090,14543 +5676,9143 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '164761', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeUWT8SO', - 'FEATUREeventbridge70XW1X', - ], + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'NamePrefix', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '名称', - 'description' => 'The name of the event stream that you want to query.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1], ], [ - 'name' => 'Limit', + 'name' => 'ClientToken', 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotent Token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The maximum number of entries to be returned in a call. You can use this parameter and NextToken to implement paging. A maximum of 100 entries can be returned in a call.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'Response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Code' => ['title' => '', 'description' => 'Response code. 200 indicates success', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Delete Namespace', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NextToken', - 'in' => 'formData', - 'schema' => [ - 'description' => 'If you configure Limit and excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', + '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"}]', + 'translator' => 'machine', + ], + 'DeleteRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Tags', - 'in' => 'formData', - 'style' => 'repeatList', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '38586', + 'abilityTreeNodes' => ['FEATUREeventbridgeS2QNZ9'], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tf-testacc-event-bus', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule that you want to delete.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ramrolechange-mns', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ '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, + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'The event rule not existed!'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'required' => false, - 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\\\n\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteRule', + 'summary' => 'Deletes an event rule.', + 'description' => 'You can call this API operation to delete an event rule.'."\n", + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => 'Response parameters changed'], + ], + 'ramActions' => [ [ - 'name' => 'SourceArn', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:alikafka:cn-hangzhou:118609547428****:instance/alikafka_pre-cn-zxu36kvi****/topic/test-topic', + '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}'], + ], ], ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DeleteTable' => [ + 'summary' => 'Delete table', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'SinkArn', + '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' => 'Table name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ARN of the event target.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fw1.LATEST/functions/log1', - ], + 'schema' => ['title' => '', 'description' => 'Idempotent token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog the table belongs to', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace the table belongs to', 'type' => 'string', 'example' => 'my_namespace', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The event streaming [xxxx] not existed!'."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '283FF852-C4B8-58C9-9777-F88A5A16A79F', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventStreamings' => [ - 'description' => 'The event streams.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event stream.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventStreamingName' => [ - 'description' => 'The name of the event stream.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Description' => [ - 'description' => 'The description of the event stream.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'Source' => [ - 'description' => 'The event provider, which is also known as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceMNSParameters' => [ - 'description' => 'The parameters that are returned if Message Queue (MNS) is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the MNS queue resides.'."\n", - 'type' => 'string', - 'example' => 'cn-zhangjiakou', - ], - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'example' => 'work4', - ], - 'IsBase64Decode' => [ - 'description' => 'Indicates whether Base64 encoding is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'SourceRabbitMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RabbitMQ is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RabbitMQ instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-zhangjiakou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'dbaudit-cn-7mz2hqolc06', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'string', - 'example' => 'eb-connect'."\n", - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'liuyang', - ], - ], - ], - 'SourceRocketMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RocketMQ is specified as the event source.'."\n", + 'Message' => ['title' => '', 'description' => 'Response message of the API', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Code' => ['title' => '', 'description' => 'Return code', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether the request was successful', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Delete table', + '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"}]', + 'translator' => 'machine', + ], + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ramrolechange-mns', 'title' => ''], + ], + [ + 'name' => 'TargetIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The IDs of the event targets that you want to delete.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the event target.'."\n" + ."\n" + .'* Note:'."\n" + ."\n" + .'You can call the GetRule operation to query the IDs of event targets.'."\n", 'type' => 'string', 'required' => false, 'example' => '12', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '78FA9EAC-F0C0-58B0-871E-9F9756CE1D29', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'ErrorEntriesCount' => ['description' => 'The number of event bodies that failed to be processed. Valid values: 0: No event bodies failed to be processed. An integer other than 0: the number of event bodies that failed to be processed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ErrorEntries' => [ + 'description' => 'The information about the event body that failed to be processed.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The id of event target is duplicate!', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'EventRuleTargetIdDuplicate', 'title' => ''], + 'EntryId' => ['description' => 'The ID of the event body that failed to be processed.'."\n", 'type' => 'string', 'example' => 'target5', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. The code 200 indicates that the request was successful. Other codes indicate that the request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"78FA9EAC-F0C0-58B0-871E-9F9756CE1D29\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"target5\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteTargets', + 'summary' => 'Deletes one or more event targets of an event rule.', + 'description' => 'You can call this API operation to delete one or more event targets of an event rule.'."\n", + 'requestParamsDescription' => 'Sample request: \\`POST /openapi/deleteTargets HTTP/1.1 Host: 123456789098\\*\\*\\*\\*.eventbridge.cn-hangzhou.aliyuncs.com Date: Sat, 18 Apr 2020 05:30:41 GMT x-eventbridge-version: 2020-04-01 Authorization: acs vZ3VL0SuJdHi\\*\\*\\*\\*:Jo2PbT\\*\\*\\*\\*\\*4azYAYoYslKLvWzg= Content-type: application/json;charset=UTF-8 Content-Length: 26'."\n" + ."\n" + .'{ "EventBusName":"default", "RuleName":"myRule", "TargetIds": \\[ "targetId1", "targetId2" ] }\\`'."\n", + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => 'Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tf-testacc-rule', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'EventRuleNotExisted', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C36345A1-75F3-5A1A-BFCF-33B82719****', 'title' => ''], + 'Code' => ['description' => 'The error code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B82719****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DisableRule', + 'summary' => 'Disables an event rule.', + 'description' => 'You can call this API operation to disable an event rule.'."\n", + 'changeSet' => [ + ['createdAt' => '2024-02-21T07:02:26.000Z', 'description' => 'Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DiscoverEventSource' => [ + 'summary' => 'Discovers the schema and simple data of an event source, such as MySQL.', + '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' => 'The MySQL source parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'HostName' => ['description' => 'The database endpoint.', 'type' => 'string', 'required' => false, 'example' => 'rm-xxx.mysql.rds.aliyuncs.com', 'title' => ''], + 'Port' => ['description' => 'The connection port of the database.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + 'DatabaseName' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'database1', 'title' => ''], + 'TableName' => ['description' => 'The name of the database table. The database name must be added as a prefix in the ${DatabaseName}.${TableName} format.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'database1.table1'."\n"], + 'User' => ['description' => 'The database username.', 'type' => 'string', 'required' => false, 'example' => 'user1', 'title' => ''], + 'Password' => ['description' => 'The database password.', 'type' => 'string', 'required' => false, 'example' => '1234xxx', 'title' => ''], + 'NetworkType' => [ + 'description' => 'The network type.', + 'enumValueTitles' => ['PrivateNetwork' => 'PrivateNetwork', 'PublicNetwork' => 'PublicNetwork'], + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + 'title' => '', + ], + 'VpcId' => ['description' => 'The ID of the Virtual Private Cloud (VPC).', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6hwiei8u5uil3bfahc1', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-gw824tpaptxtlo256lqub', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp1ic0vsbwyv176e9inx', 'title' => ''], + 'Offset' => ['description' => 'The offset for paging the query results.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], + 'Limit' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The return code.'."\n" + ."\n" + .'A value of 200 indicates success.'."\n" + ."\n" + .'Other values indicate an error. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'SourceMySQLDiscovery' => [ + 'description' => 'The discovery results for the MySQL source.', + 'type' => 'object', + 'properties' => [ + 'DatabaseNames' => [ + 'description' => 'The database names, in JSON array format.', + 'type' => 'array', + 'items' => ['description' => 'The database name.', 'type' => 'string', 'example' => 'database1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TableNames' => [ + 'description' => 'The database table names.', + 'type' => 'array', + 'items' => ['description' => 'The database table name.', 'type' => 'string', 'example' => 'ai_festival_gift_ranking', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TableSchema' => [ + 'description' => 'The table properties.', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'map', 'title' => ''], + 'Columns' => [ + 'description' => 'The column information.', + 'type' => 'array', + 'items' => [ + 'description' => 'A column.', 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RocketMQ instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-chengdu', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance'."\n", - 'type' => 'string', - 'example' => 'i-f8zbher64dlm58plyfte'."\n", - ], - 'Topic' => [ - 'description' => 'The topic from which messages are sent.'."\n", - 'type' => 'string', - 'example' => 'topic_add_anima', - ], - 'Tag' => [ - 'description' => 'The tag that is used to filter messages.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'Offset' => [ - 'description' => 'The offset from which messages are consumed. Valid values: CONSUMEFROMLASTOFFSET: Messages are consumed from the latest offset. CONSUMEFROMFIRSTOFFSET: Messages are consumed from the earliest offset. CONSUME_FROM_TIMESTAMP: Messages are consumed from the offset at the specified point in time.'."\n", - 'type' => 'string', - 'example' => 'CONSUMEFROMTIMESTAMP', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'GID_group1', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that indicates the time from which messages are consumed. This parameter is valid only if Offset is set to CONSUMEFROMTIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1670742074043', - ], - 'InstanceType' => [ - 'description' => 'The type of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', - ], - 'AuthType' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'string', - 'example' => 'ACL', - ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'admin**', - ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1a4gmlk31hy***l3ss', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h123456****'."\n", - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'example' => 'sg-m5edtu24f12345****'."\n", - ], - 'InstanceNetwork' => [ - 'description' => 'The network type of the ApsaraMQ for RocketMQ instance. Valid values:'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'FilterType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Tag'."\n", - ], - 'FilterSql' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'index > 10'."\n", - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5e3sv4b12345****'."\n", - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12345****'."\n", - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-m5edtu24f12345****'."\n", - ], - ], - ], - 'SourceRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_5', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => "\n" - .'rmq-cn-jte3w******', - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myTopic', - ], - ], + 'Field' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'id', 'title' => ''], + 'IsNull' => ['description' => 'Indicates whether the column can be empty. The return values are as follows:'."\n" + ."\n" + .'- **YES**: The column can be empty.'."\n" + ."\n" + .'- **NO**: The column cannot be empty.', 'type' => 'string', 'example' => 'NO', 'title' => ''], + 'Extra' => ['description' => 'An auxiliary parameter.', 'type' => 'string', 'example' => 'auto_increment', 'title' => ''], + 'Type' => ['description' => 'The property type.', 'type' => 'string', 'example' => 'int', 'title' => ''], + 'Key' => ['description' => 'The primary key type.', 'type' => 'string', 'example' => 'PRI', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'SourceApacheRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myTopic', - ], - ], - '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' => 'VPC ID。', - 'type' => 'string', - 'example' => 'vpc-adw1awdw*****', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-dwaafds****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-mw43*****', - ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SimpleData' => ['description' => 'Sample table content.', '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\\"}]', 'title' => ''], + 'ExpireLogsDays' => ['description' => 'The number of days before binary logs (binlogs) expire. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'WaitTimeout' => ['description' => 'The maximum idle time for a non-interactive connection. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => ''], + 'EstimatedRows' => ['description' => 'The estimated number of rows. Unit: rows.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID generated by Alibaba Cloud for the request.', 'type' => 'string', 'example' => 'C7043799-F4DA-5290-9249-97C35987****', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. A \\`true\\` value means the operation succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'DiscoverEventSource', + 'description' => 'Discovers information about an event source.', + 'changeSet' => [ + ['createdAt' => '2025-06-19T03:33:29.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:DiscoverEventSource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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"}]', + 'translator' => 'manual', + ], + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ramrolechange', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'EventRuleNotExisted', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', 'title' => ''], + 'Code' => ['description' => 'The error code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'EnableRule', + 'summary' => 'Enables an event rule.', + 'description' => 'You can call this API operation to enable an event rule.'."\n", + 'changeSet' => [ + ['createdAt' => '2024-02-21T07:02:26.000Z', 'description' => 'Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'EventCenterQueryEvents' => [ + 'summary' => 'Queries events from the event center.', + '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' => 'The name of the event bus.', 'type' => 'string', 'required' => false, 'default' => 'default', 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of results to return. Valid values: 0 to 10,000. The default value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '0', 'default' => '100', 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => ['description' => 'The schema ID.', 'type' => 'string', 'required' => true, 'example' => 'ecs:GeneralSchema', 'title' => ''], + 'QueryType' => [ + 'description' => 'The query type. Valid values:'."\n" + ."\n" + .'- **timeseries**: queries time series data.'."\n" + ."\n" + .'- **table**: queries table data.'."\n" + ."\n" + .'- **timeseries\\_and\\_table**: queries both time series data and table data.', + 'type' => 'string', + 'required' => true, + 'enum' => ['timeseries', 'table', 'timeseries_and_table'], + 'example' => 'timeseries_and_table', + 'title' => '', + ], + 'Parameters' => [ + 'description' => 'The query parameters.', + 'type' => 'object', + 'properties' => [ + 'Breakdowns' => [ + 'description' => 'An array of column names to use as dimensions for splitting the dataset.', + 'type' => 'array', + 'items' => ['description' => 'The name of the column to use as a dimension for splitting.', 'type' => 'string', 'required' => false, 'example' => 'source', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Calculations' => [ + 'description' => 'The calculations to perform on specified columns.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Op' => [ + 'description' => 'The operator.', + 'type' => 'string', + 'enum' => ['COUNT', 'SUM', 'AVG', 'COUNT_DISTINCT', 'MAX', 'MIN', 'P50', 'P90', 'P95', 'P99'], + 'required' => false, + 'example' => 'COUNT_DISTINCT', + 'title' => '', + ], + 'Column' => ['description' => 'The column name.', 'type' => 'string', 'required' => false, 'example' => 'source', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Filters' => [ + 'description' => 'A list of filter conditions.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Column' => ['description' => 'The column name.', 'type' => 'string', 'required' => false, 'example' => 'source', 'title' => ''], + 'Op' => [ + 'description' => 'The operator.', + 'type' => 'string', + 'enum' => ['=', '!=', '>', '>=', '<', '<=', 'exists', 'does-not-exist', 'starts-with', 'does-not-start-with', 'contains', 'does-not-contain', 'in', 'not-in', 'text-match'], + 'required' => false, + 'example' => '=', + 'title' => '', + ], + 'Values' => [ + 'description' => 'The values to use with the operator.', + 'type' => 'array', + 'items' => ['description' => 'If the value is a string, enclose it in single quotation marks (\').', 'type' => 'string', 'required' => false, 'example' => '\'acs.ecs\'', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'NestedFilterCombination' => [ + 'description' => 'The logical operator for combining nested filters.', + 'type' => 'string', + 'example' => 'AND', + 'default' => 'AND', + 'enum' => ['AND', 'OR'], + 'required' => false, + 'title' => '', + ], + 'NestedFilters' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Column' => ['description' => 'The column name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Op' => [ + 'description' => 'The operator.', + 'type' => 'string', + 'enum' => ['=', '!=', '>', '>=', '<', '<=', 'exists', 'does-not-exist', 'starts-with', 'does-not-start-with', 'contains', 'does-not-contain', 'in', 'not-in', 'text-match'], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - 'SourceKafkaParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for Kafka is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for Kafka instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-chengdu', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'bastionhost-cn-i7m2gwt7z1n', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'topic_empower_1642473600414'."\n", - ], - 'ConsumerGroup' => [ - 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", - 'type' => 'string', - 'example' => 'GID_TEST', - ], - 'OffsetReset' => [ - 'description' => 'The offset from which messages are consumed.'."\n", - 'type' => 'string', - 'example' => 'latest', - ], - 'Network' => [ - 'description' => 'The network type. Default value: Default. The value PublicNetwork indicates a VPC.'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-wz9ki1qdlx3cx5cbbhowf', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for Kafka instance is associated.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1rmi8rind7eo50cbied', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'example' => 'sg-5ud5f3p0rqqis69tpp8eho7cp', - ], - 'ValueDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], + 'Values' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'description' => 'A list of values to use with the operator.', + 'title' => '', + 'example' => '', ], ], - 'SourceMQTTParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for MQTT is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for MQTT instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for MQTT instance.'."\n", - 'type' => 'string', - 'example' => 'bastionhost-cn-zvp27kcha1r', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for MQTT instance.'."\n", - 'type' => 'string', - 'example' => 'migration_instance', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], - ], - ], - 'SourceDTSParameters' => [ - 'description' => 'The parameters that are returned if Data Transmission Service (DTS) is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => '1611b337285f44e2936a2c4170bbbb7f', - ], - 'BrokerUrl' => [ - 'description' => 'The URL and port number of the change tracking instance.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Topic' => [ - 'description' => 'The name of the tracked topic of the change tracking instance.'."\n", - 'type' => 'string', - 'example' => 'TP_TEST_UNDERWRITE_ISSUE'."\n", - ], - 'Sid' => [ - 'description' => 'The consumer group ID.'."\n", - 'type' => 'string', - 'example' => 'HG9', - ], - 'Username' => [ - 'description' => 'The consumer group username.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - 'Password' => [ - 'description' => 'The consumer group password.'."\n", - 'type' => 'string', - 'example' => '123456', - ], - 'InitCheckPoint' => [ - 'description' => 'The UNIX timestamp that is generated when the SDK client consumes the first data record.'."\n", - 'type' => 'string', - 'example' => '1620962769', - ], - ], - ], - 'SourceSLSParameters' => [ - 'description' => 'The parameters that are returned if Simple Log Service is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'example' => 'dmmzk', - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'waf-logstore'."\n", - ], - 'ConsumerGroup' => [ - 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", - 'type' => 'string', - 'example' => 'go-dts-shelf-group', - ], - 'ConsumePosition' => [ - 'description' => 'The consumer offset. The value begin indicates the earliest offset. The value end indicates the latest offset. You can also specify a time in seconds to start message consumption.'."\n", - 'type' => 'string', - 'example' => 'begin', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console.'."\n", - 'type' => 'string', - 'example' => 'testRole', - ], - ], - ], - 'SourcePrometheusParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c83555068b6******ad213f565f209'."\n", - ], - 'DataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], - 'Labels' => [ - 'description' => '', - 'type' => 'string', - 'example' => '__name__=.*'."\n", - ], - 'RoleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testRole', - ], - 'ExternalLabels' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"source":"prometheus-prod"}', - ], - ], - ], - 'SourceCustomizedKafkaParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gtm-cn-k2c2yfg****'."\n", - ], - ], - ], - 'SourceCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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" - .' "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' => '', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eventbridge_oss_role'."\n", - ], - 'BucketName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'bucket_abc'."\n", - ], - 'Prefix' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fun/document/'."\n", - ], - 'LoadMode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'single'."\n", - ], - 'LoadFormat' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TextLoader'."\n", - ], - 'Delimiter' => [ - 'description' => '', - 'type' => 'string', - 'example' => '\\n'."\n", - ], - ], - ], - 'SourceOpenSourceRabbitMQParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.1:9876', - ], - 'VirtualHostName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Vhost1', - ], - 'QueueName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Json', - ], - 'Username' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'Password' => [ - 'description' => '', - 'type' => 'string', - 'example' => '****', - ], - 'VpcId' => [ - 'description' => 'VPC ID。', - 'type' => 'string', - 'example' => 'vpc-m5e3sv4b12345****', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12345****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-m5edtu24f12345****', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'AuthType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ACL', - ], - ], - ], - 'SourceEventBusParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventBusName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'my-event-bus', - ], - 'EventRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'my-event-rule', - ], - ], - ], - 'SourceMySQLParameters' => [ - '$ref' => '#/components/schemas/SourceMySQLParameters', - ], - 'SourcePostgreSQLParameters' => [ - '$ref' => '#/components/schemas/SourcePostgreSQLParameters', - ], - 'SourceRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', - ], - 'SourceRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', - ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'FilterPattern' => [ - 'description' => 'The rule that is used to filter events. If you leave this parameter empty, all events are matched.'."\n", - 'type' => 'string', + 'required' => false, + 'description' => 'A list of nested filters.', + 'title' => '', 'example' => '', ], - 'Transforms' => [ - 'description' => 'The transformation-related configurations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud service, such as the ARN of a Function Compute function.'."\n", - 'type' => 'string', - 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", - ], - 'DashScopeTransformParameters' => [ - '$ref' => '#/components/schemas/DashScopeTransformParameters', - ], - 'BaiLianAgentTransformParameters' => [ - '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', - ], - ], - ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'FilterCombination' => [ + 'description' => 'The logical operator for combining filter conditions.', + 'type' => 'string', + 'example' => 'AND', + 'default' => 'AND', + 'enum' => ['AND', 'OR'], + 'required' => false, + 'title' => '', + ], + 'Granularity' => ['description' => 'The time granularity, in seconds, for querying time series data. The minimum value is 1. This is a suggested value; the actual granularity is returned in the response.', 'type' => 'integer', 'required' => false, 'example' => '30', 'title' => ''], + 'Orders' => [ + 'description' => 'The sort order for the query results. This parameter applies only when QueryType is set to table.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Op' => [ + 'description' => 'The operator.', + 'type' => 'string', + 'enum' => ['COUNT', 'SUM', 'AVG', 'COUNT_DISTINCT', 'MAX', 'MIN', 'P50', 'P90', 'P95', 'P99'], + 'required' => false, + 'example' => 'AVG', + 'title' => '', ], - 'Sink' => [ - 'description' => 'The event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'SinkMNSParameters' => [ - 'description' => 'The parameters that are returned if MNS is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'IsBase64Encode' => [ - 'description' => 'Indicates whether Base64 encoding is enabled.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Indicates that Base64 encoding is enabled.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkFcParameters' => [ - 'title' => '函数目标', - 'description' => 'The parameters that are returned if Function Compute is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'example' => 'myService', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'FunctionName' => [ - 'description' => 'The function name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'example' => 'mFunction', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Concurrency' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Qualifier' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'string', - 'example' => 'LATEST', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InvocationType' => [ - 'description' => 'The invocation mode. Valid values:'."\n" - ."\n" - .'* Sync'."\n" - .'* Async'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The invocation mode. Valid values:'."\n" - ."\n" - .'* Sync'."\n" - .'* Async'."\n", - 'type' => 'string', - 'example' => 'Async', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message body that is delivered to Function Compute.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - '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' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkRabbitMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RabbitMQ is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'si-296cd57939a1421b94ec', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'string', - 'example' => 'rabbit-host'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TargetType' => [ - 'description' => 'The type of the resource to which events are delivered.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the resource to which events are delivered. Valid values: Exchange and Queue.'."\n", - 'type' => 'string', - 'example' => 'Queue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Exchange' => [ - 'description' => 'The exchange mode. This parameter is required only if TargetType is set to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the exchange on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'a_exchange', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'RoutingKey' => [ - 'description' => 'The rule that is used to route messages. This parameter is required only if TargetType is set to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The rule that is used to route messages.'."\n", - 'type' => 'string', - 'example' => 'housekeeping', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'QueueName' => [ - 'description' => 'The queue mode. This parameter is required only if TargetType is set to Queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'MessageId' => [ - 'description' => 'The message ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Properties' => [ - 'description' => 'The properties that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkKafkaParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for Kafka is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'Defaut_1283278472_sadkj', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'topic', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Acks' => [ - 'description' => 'The acknowledgment (ACK) mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ACK mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Key' => [ - 'description' => 'The message key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The message key.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Value' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkRocketMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RocketMQ is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'MQ_INST_164901546557****_BAAN****'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Topic' => [ - 'description' => 'The topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'topic', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Properties' => [ - 'description' => 'The properties that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Keys' => [ - 'description' => 'The keys that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Tags' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_4', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceEndpoint' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceUsername' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstancePassword' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin******'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n" - ."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Network' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'DeliveryOrderType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Orderly', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ShardingKey' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'order_id', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkDorisParameters' => [ - 'type' => 'object', - 'properties' => [ - 'QueryEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'FeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'BeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'UserName' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Password' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Database' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Table' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Body' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'SinkRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_5', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MQ_INST_1825725063814405_BZ******', - ], - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myTopic', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Group' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'GID_******', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ConsumeTimestamp' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1636597951964', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkApacheRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'myTopic', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Group' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'GID_******', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ConsumeTimestamp' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1636597951964', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.1:9876', - ], - 'InstanceUsername' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'InstancePassword' => [ - 'description' => '', - 'type' => 'string', - 'example' => '****', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => 'VPC ID。', - 'type' => 'string', - 'example' => 'vpc-2zehizpoendb3****', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-wz9qqeovkwjxlu9uc****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2vcgdxz7o1n9zapp****', - ], - ], - ], - 'SinkSLSParameters' => [ - 'description' => 'The parameters that are returned if Simple Log Service is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'example' => 'test-project'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'test-logstore'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Topic' => [ - 'description' => 'The name of the topic in which logs are stored. The topic corresponds to the topic reserved field in Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic in which logs are stored. The topic corresponds to the topic reserved field in Simple Log Service.'."\n", - 'type' => 'string', - 'example' => 'topic', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message body that is sent to Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'string', - 'example' => 'test-role', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ContentType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ContentSchema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkFnfParameters' => [ - 'description' => 'The parameters that are returned if CloudFlow is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'FlowName' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'string', - 'example' => 'test-streaming-fnf'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'ExecutionName' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'Input' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role configuration.'."\n", - 'type' => 'string', - 'example' => 'Al****FNF-x****'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which events are transformed.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - ], - ], - 'SinkDataHubParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo-project'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo-topic'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TopicType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TUPLE'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TopicSchema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"k1":"value1","k2":"value2"}'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ORIGINAL'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'RoleName' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'testRole'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkCustomizedKafkaParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71'."\n", - ], - ], - ], - 'SinkCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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' => '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' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vrs-cn-lbj3ru1***'."\n", - ], - 'Collection' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'collection1'."\n", - ], - 'ApiKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Q34nExQH7sQ****'."\n", - ], - 'Operation' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Upsert'."\n", - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork'."\n", - ], - 'PrimaryKeyId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSONPATH'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.data.requestId'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '${ID}'."\n", - ], - ], - ], - 'Partition' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Vector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSONPATH'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.data.messageBody'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'DashVectorSchemaParameters' => [ - 'description' => '', - 'type' => 'array', - 'properties' => [ - 'Form' => [ - 'name' => 'Form', - 'description' => '', - 'type' => 'string', - 'example' => 'TEMPLATE'."\n", - 'backendName' => 'Form', - ], - 'Value' => [ - 'name' => 'Value', - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .' "value1":"v1",'."\n" - .' "value2":"v2"'."\n" - .'}', - 'backendName' => 'Value', - ], - 'Template' => [ - 'name' => 'Template', - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' {'."\n" - .' "name": "schema1",'."\n" - .' "type": "INT",'."\n" - .' "value": "${value1}"'."\n" - .' },'."\n" - .' {'."\n" - .' "name": "schema2",'."\n" - .' "type": "FLOAT",'."\n" - .' "value": "${value2}"'."\n" - .' }'."\n" - .']', - 'backendName' => 'Template', - ], - ], - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Type' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - 'SinkOpenSourceRabbitMQParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.1:9876', - ], - 'VirtualHostName' => [ - 'description' => '', - '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' => '', - 'type' => 'string', - 'example' => 'vsw-wz9qqeovkwjxlu9uc****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2vcgdxz7o1n9zapp****', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'AuthType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ACL', - ], - 'RoutingKey' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - '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' => '', - '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' => [ - '$ref' => '#/components/schemas/SinkBaiLianParameters', - ], - 'SinkHttpsParameters' => [ - 'title' => 'Https目标参数', - '$ref' => '#/components/schemas/SinkHttpsParameters', - ], - 'SinkApiDestinationParameters' => [ - 'title' => 'ApiDestination目标参数', - '$ref' => '#/components/schemas/SinkApiDestinationParameters', - ], - 'SinkOSSParameters' => [ - '$ref' => '#/components/schemas/SinkOSSParameters', - ], - 'SinkRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', - ], - 'SinkRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', - ], - 'SinkMQTTParameters' => [ - '$ref' => '#/components/schemas/SinkMQTTParameters', - ], - ], - ], - 'RunOptions' => [ - 'description' => 'The parameters that are returned for the runtime environment.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaximumTasks' => [ - 'description' => 'The maximum number of concurrent tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RetryStrategy' => [ - 'description' => 'The retry policy that is used if events fail to be pushed.'."\n", - 'type' => 'object', - 'properties' => [ - 'PushRetryStrategy' => [ - 'description' => 'The retry policy. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY.'."\n", - 'type' => 'string', - 'example' => 'EXPONENTIALDECAY_RETRY', - ], - ], - ], - 'ErrorsTolerance' => [ - 'description' => 'The exception tolerance policy. Valid values: NONE and ALL.'."\n", - 'type' => 'string', - 'example' => 'ALL', - ], - 'DeadLetterQueue' => [ - 'description' => 'Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.'."\n", - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => 'The ARN of the dead-letter queue.'."\n", - 'type' => 'string', - 'example' => 'acs:ram::1597871211794192:role/aliyunsaedefaultrole', - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2zehizpoendb3****', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12345****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2vcgdxz7o1n9zapp****', - ], - ], - ], - 'BatchWindow' => [ - 'description' => 'The batch window.'."\n", - 'type' => 'object', - 'properties' => [ - 'CountBasedWindow' => [ - 'description' => 'The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeBasedWindow' => [ - 'description' => 'The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - 'BusinessOption' => [ - 'type' => 'object', - 'properties' => [ - 'BusinessMode' => [ - 'type' => 'string', - ], - 'MinCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'Throttling' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'Status' => [ - 'description' => 'The status of the event stream that is returned.'."\n", - 'type' => 'string', - 'example' => 'RUNNING', - ], - ], - ], - ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. You must specify the pagination token in the next request.'."\n", - 'type' => 'string', - 'example' => '177', - ], - 'Total' => [ - 'description' => 'The total number of records.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'Success: The request is successful.'."\n" - ."\n" - .'Other codes: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. The value true indicates that the request is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"283FF852-C4B8-58C9-9777-F88A5A16****\\",\\n \\"Data\\": {\\n \\"EventStreamings\\": [\\n {\\n \\"EventStreamingName\\": \\"name\\",\\n \\"Description\\": \\"demo\\",\\n \\"Source\\": {\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-zhangjiakou\\",\\n \\"QueueName\\": \\"work4\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-zhangjiakou\\",\\n \\"InstanceId\\": \\"dbaudit-cn-7mz2hqo****\\",\\n \\"VirtualHostName\\": \\"eb-connect\\\\n\\",\\n \\"QueueName\\": \\"liuyang\\"\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"InstanceId\\": \\"i-f8zbher64dlm58pl****\\\\n\\",\\n \\"Topic\\": \\"topic_add_anima\\",\\n \\"Tag\\": \\"v1\\",\\n \\"Offset\\": \\"CONSUMEFROMTIMESTAMP\\",\\n \\"GroupID\\": \\"GID_group1\\",\\n \\"Timestamp\\": 1670742074043,\\n \\"InstanceType\\": \\"Cloud_4\\\\n\\",\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceUsername\\": \\"admin**\\",\\n \\"InstancePassword\\": \\"123\\",\\n \\"InstanceVpcId\\": \\"vpc-bp1a4gmlk31hy***l3ss\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-m5ev8asdc6h123456****\\\\n\\",\\n \\"InstanceSecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"BodyDataType\\": \\"JSON\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\",\\n \\"FilterType\\": \\"Tag\\\\n\\",\\n \\"FilterSql\\": \\"index > 10\\\\n\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\\\n\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\"\\n },\\n \\"SourceRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceType\\": \\"Cloud_5\\",\\n \\"InstanceId\\": \\"\\\\nrmq-cn-jte3w******\\",\\n \\"Topics\\": [\\n \\"myTopic\\"\\n ]\\n },\\n \\"SourceApacheRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Topics\\": [\\n \\"myTopic\\"\\n ],\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-adw1awdw*****\\",\\n \\"VSwitchId\\": \\"vsw-dwaafds****\\",\\n \\"SecurityGroupId\\": \\"sg-mw43*****\\"\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"RegionId\\": \\"cn-chengdu\\",\\n \\"InstanceId\\": \\"bastionhost-cn-i7m2gwt****\\",\\n \\"Topic\\": \\"topic_empower_1642473600414\\\\n\\",\\n \\"ConsumerGroup\\": \\"GID_TEST\\",\\n \\"OffsetReset\\": \\"latest\\",\\n \\"Network\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-wz9ki1qdlx3cx5cbf****\\",\\n \\"VSwitchIds\\": \\"vsw-bp1rmi8rind7eo50c****\\",\\n \\"SecurityGroupId\\": \\"sg-5ud5f3p0rqqis69****eho7cp\\",\\n \\"ValueDataType\\": \\"JSON\\\\n\\"\\n },\\n \\"SourceMQTTParameters\\": {\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"InstanceId\\": \\"bastionhost-cn-zvp27kc****\\",\\n \\"Topic\\": \\"migration_instance\\",\\n \\"BodyDataType\\": \\"JSON\\\\n\\"\\n },\\n \\"SourceDTSParameters\\": {\\n \\"TaskId\\": \\"1611b337285f44e2936a2c4170****\\",\\n \\"BrokerUrl\\": \\"无\\",\\n \\"Topic\\": \\"TP_TEST_UNDERWRITE_ISSUE\\\\n\\",\\n \\"Sid\\": \\"HG9\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"123456\\",\\n \\"InitCheckPoint\\": \\"1620962769\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"dmmzk\\",\\n \\"LogStore\\": \\"waf-logstore\\\\n\\",\\n \\"ConsumerGroup\\": \\"go-dts-shelf-group\\",\\n \\"ConsumePosition\\": \\"begin\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourcePrometheusParameters\\": {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c83555068b6******ad213f565f209\\\\n\\",\\n \\"DataType\\": \\"JSON\\\\n\\",\\n \\"Labels\\": \\"__name__=.*\\\\n\\",\\n \\"RoleName\\": \\"testRole\\",\\n \\"ExternalLabels\\": \\"{\\\\\\"source\\\\\\":\\\\\\"prometheus-prod\\\\\\"}\\"\\n },\\n \\"SourceCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"gtm-cn-k2c2yfg****\\\\n\\"\\n },\\n \\"SourceCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"test-name\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SourceOSSParameters\\": {\\n \\"RoleName\\": \\"eventbridge_oss_role\\\\n\\",\\n \\"BucketName\\": \\"bucket_abc\\\\n\\",\\n \\"Prefix\\": \\"fun/document/\\\\n\\",\\n \\"LoadMode\\": \\"single\\\\n\\",\\n \\"LoadFormat\\": \\"TextLoader\\\\n\\",\\n \\"Delimiter\\": \\"\\\\\\\\n\\\\n\\"\\n },\\n \\"SourceOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"Vhost1\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"AuthType\\": \\"ACL\\"\\n },\\n \\"SourceEventBusParameters\\": {\\n \\"EventBusName\\": \\"my-event-bus\\",\\n \\"EventRuleName\\": \\"my-event-rule\\"\\n },\\n \\"SourceMySQLParameters\\": {\\n \\"IncludeSchemaChanges\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"DatabaseName\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Password\\": \\"\\"\\n },\\n \\"SourcePostgreSQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Port\\": 0,\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\"\\n },\\n \\"SourceRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Regex\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"MaxHops\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"InnerNameSuffix\\": \\"\\"\\n },\\n \\"SourceRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"BodyDataType\\": \\"\\",\\n \\"PrefetchCount\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n }\\n },\\n \\"FilterPattern\\": \\"无\\",\\n \\"Transforms\\": [\\n {\\n \\"Arn\\": \\"acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func\\\\n\\",\\n \\"DashScopeTransformParameters\\": {\\n \\"Model\\": \\"\\",\\n \\"ApiKey\\": \\"\\",\\n \\"StructuredOutputJsonSchema\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0,\\n \\"Messages\\": [\\n {\\n \\"Role\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n ]\\n },\\n \\"BaiLianAgentTransformParameters\\": {\\n \\"ApplicationId\\": \\"\\",\\n \\"Prompt\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"ApiKey\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0\\n }\\n }\\n ],\\n \\"Sink\\": {\\n \\"SinkMNSParameters\\": {\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"IsBase64Encode\\": {\\n \\"Value\\": \\"true\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFcParameters\\": {\\n \\"ServiceName\\": {\\n \\"Value\\": \\"myService\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"FunctionName\\": {\\n \\"Value\\": \\"mFunction\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Concurrency\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Qualifier\\": {\\n \\"Value\\": \\"LATEST\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InvocationType\\": {\\n \\"Value\\": \\"Async\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"DataFormat\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkRabbitMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"si-296cd57939a1421b****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VirtualHostName\\": {\\n \\"Value\\": \\"rabbit-host\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TargetType\\": {\\n \\"Value\\": \\"Queue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Exchange\\": {\\n \\"Value\\": \\"a_exchange\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Value\\": \\"housekeeping\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"MessageId\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkKafkaParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"Defaut_1283278472_sad****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"CompressionType\\": \\"\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Acks\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Key\\": {\\n \\"Value\\": \\"key\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkRocketMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"MQ_INST_164901546557****_BAAN****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Keys\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Tags\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"InstanceType\\": {\\n \\"Value\\": \\"Cloud_4\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": {\\n \\"Value\\": \\"vbr-8vbsvkkbpf3vb0zef****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceUsername\\": {\\n \\"Value\\": \\"admin\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstancePassword\\": {\\n \\"Value\\": \\"admin******\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwlvb****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwl****mp\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"b4bf375515f6440f942e3a20c33d****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"Network\\": {\\n \\"Value\\": \\"PublicNetwork\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DeliveryOrderType\\": {\\n \\"Value\\": \\"Orderly\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ShardingKey\\": {\\n \\"Value\\": \\"order_id\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDorisParameters\\": {\\n \\"QueryEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"FeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"UserName\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Password\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Database\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Table\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRocketMQCheckpointParameters\\": {\\n \\"InstanceType\\": \\"Cloud_5\\",\\n \\"InstanceId\\": \\"MQ_INST_1825725063814405_BZ******\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"myTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1636597951964\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkApacheRocketMQCheckpointParameters\\": {\\n \\"Topic\\": {\\n \\"Value\\": \\"myTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1636597951964\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchId\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"SinkSLSParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"test-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"LogStore\\": {\\n \\"Value\\": \\"test-logstore\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"topic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"test-role\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentType\\": {\\n \\"Value\\": \\"JSON\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentSchema\\": {\\n \\"Value\\": \\"{\\\\\\"Key_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"CONSTANT\\\\\\",\\\\\\"value\\\\\\":\\\\\\"demoKey\\\\\\"},\\\\\\"Value_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"JSONPATH\\\\\\",\\\\\\"value\\\\\\":\\\\\\"$.data.value\\\\\\"}}\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFnfParameters\\": {\\n \\"FlowName\\": {\\n \\"Value\\": \\"test-streaming-fnf\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ExecutionName\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Input\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"Al****FNF-x****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDataHubParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"demo-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"demo-topic\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicType\\": {\\n \\"Value\\": \\"TUPLE\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicSchema\\": {\\n \\"Value\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"value2\\\\\\"}\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"无\\",\\n \\"Form\\": \\"ORIGINAL\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"testRole\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"90be1f96-4229-4535-bb76-34b4f6fb2b71\\\\n\\"\\n },\\n \\"SinkCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"mongo-sink\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SinkDashVectorParameters\\": {\\n \\"InstanceId\\": \\"vrs-cn-lbj3ru1***\\\\n\\",\\n \\"Collection\\": \\"collection1\\\\n\\",\\n \\"ApiKey\\": \\"Q34nExQH7sQ****\\\\n\\",\\n \\"Operation\\": \\"Upsert\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\\\n\\",\\n \\"PrimaryKeyId\\": {\\n \\"Form\\": \\"JSONPATH\\\\n\\",\\n \\"Value\\": \\"$.data.requestId\\\\n\\",\\n \\"Template\\": \\"${ID}\\\\n\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Value\\": \\"default\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Vector\\": {\\n \\"Form\\": \\"JSONPATH\\\\n\\",\\n \\"Value\\": \\"$.data.messageBody\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DashVectorSchemaParameters\\": [\\n {\\n \\"Name\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Type\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"SinkOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"Vhost1\\",\\n \\"TargetType\\": \\"exchange\\",\\n \\"Exchange\\": \\"my_exchange\\",\\n \\"QueueName\\": \\"my_queue\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"housekeeping\\\\n\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Form\\": \\"TEMPLATE\\\\n\\",\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"TEMPLATE\\\\n\\",\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Value\\": \\"\\\\t\\\\n{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n }\\n },\\n \\"SinkBaiLianParameters\\": {\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Extend\\": \\"\\",\\n \\"WorkspaceId\\": \\"\\",\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkOSSParameters\\": {\\n \\"BucketName\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"RoleArn\\": \\"\\",\\n \\"RotateSizeBytes\\": \\"\\",\\n \\"RotateIntervalMs\\": \\"\\",\\n \\"PathFormat\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"TaskConcurrency\\": \\"\\",\\n \\"TimeZone\\": \\"\\",\\n \\"SSLEnabled\\": true,\\n \\"ContentTransform\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Exchange\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MaxHops\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkMQTTParameters\\": {\\n \\"InstanceId\\": \\"\\",\\n \\"ParentTopic\\": \\"\\",\\n \\"SubTopic\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Payload\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Mqtt5UserProperty\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n },\\n \\"RunOptions\\": {\\n \\"MaximumTasks\\": 2,\\n \\"RetryStrategy\\": {\\n \\"PushRetryStrategy\\": \\"EXPONENTIAL_DECAY_RETRY\\"\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:ram::159787121179****:role/aliyunsaedefaultrole\\",\\n \\"Network\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"BatchWindow\\": {\\n \\"CountBasedWindow\\": 100,\\n \\"TimeBasedWindow\\": 10\\n },\\n \\"BusinessOption\\": {\\n \\"BusinessMode\\": \\"\\",\\n \\"MinCapacityUnitCount\\": 0,\\n \\"MaxCapacityUnitCount\\": 0\\n },\\n \\"Throttling\\": 0\\n },\\n \\"Status\\": \\"RUNNING\\"\\n }\\n ],\\n \\"NextToken\\": \\"177\\",\\n \\"Total\\": 10\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListEventStreamings', - 'description' => 'You can call this API operation to query event streams.'."\n", - ], - 'DeleteEventStreaming' => [ - 'summary' => 'Deletes an event stream.', - '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' => 'The name of the event stream that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rocketmq-sync', - 'maxLength' => 255, - 'minLength' => 2, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The event streaming [xxxx] not existed!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '499A9ACF-70CD-5D43-87F3-1B60529EE446', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\",\\n \\"RequestId\\": \\"499A9ACF-70CD-5D43-87F3-1B60529EE446\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'DeleteEventStreaming', - 'description' => 'You can call this API operation to delete an event stream.'."\n", - ], - 'PauseEventStreaming' => [ - 'summary' => 'Stops an event stream that is running.', - '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' => 'The name of the event stream that you want to stop.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rocketmq-sync', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The event streaming [xxxx] not existed!'."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '72ce027c-546a-4231-9cf6-ec58766027f9', - ], - 'Code' => [ - 'description' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"72ce027c-546a-4231-9cf6-ec58766027f9\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'PauseEventStreaming', - 'description' => 'You can call this API operation to stop an event stream that is running.'."\n", - ], - 'StartEventStreaming' => [ - 'summary' => 'Enables a created or deactivated event stream.', - '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' => 'The name of the event stream that you want to enable.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rocketmq-sync', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The event streaming [xxxx] not existed!'."\n", - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8CEAD24D-328D-5539-9D30-FD2D33204FBB', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\\\n\\",\\n \\"RequestId\\": \\"8CEAD24D-328D-5539-9D30-FD2D33204FBB\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'StartEventStreaming', - 'description' => 'You can call this API operation to enable a created or deactivated event stream.'."\n", - ], - 'GetEventStreaming' => [ - 'summary' => 'Queries the details of an event stream.', - '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' => 'The name of the event stream whose details you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myeventstreaming', - 'maxLength' => 255, - 'minLength' => 2, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The error message that is returned if the request failed.'."\n", - 'type' => 'string', - 'example' => 'The event streaming [xxxx] not existed!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7892F480-58C9-5067-AB35-8A7BEF0F726A', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventStreamingName' => [ - 'description' => 'The name of the event stream that is returned.'."\n", - 'type' => 'string', - 'example' => 'rocketmq-sync', - ], - 'Description' => [ - 'description' => 'The description of the event stream that is returned.'."\n", - 'type' => 'string', - 'example' => 'RocketMQ-to-RocketMQ', - ], - 'Source' => [ - 'description' => 'The event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceMNSParameters' => [ - 'description' => 'Source MNS Parameters'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the MNS queue.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'IsBase64Decode' => [ - 'description' => 'Indicates whether Base64 encoding is enabled.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'SourceRabbitMQParameters' => [ - 'description' => 'Source RabbitMQ Parameters'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'i-f8z9a9mcgwri1c1idd0z', - ], - 'VirtualHostName' => [ - 'description' => 'The vhost name of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'eb-connect', - ], - 'QueueName' => [ - 'description' => 'The name of the queue in the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'comp', - ], - ], - ], - 'SourceRocketMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RocketMQ is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'i-f8zbher64dlm58plyfte', - ], - 'Topic' => [ - 'description' => 'The topic to which the message belongs.'."\n", - 'type' => 'string', - 'example' => 'topic_add_anima', - ], - 'Tag' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'string', - 'example' => 'v1', - ], - 'Offset' => [ - 'description' => 'The consumer offset of messages. Valid values: CONSUME_FROM_LAST_OFFSET: Start consumption from the latest offset. CONSUME_FROM_FIRST_OFFSET: Start consumption from the earliest offset. CONSUME_FROM_TIMESTAMP: Start consumption from the offset at the specified point in time.'."\n", - 'type' => 'string', - 'example' => 'CONSUMEFROMLASTOFFSET', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group in the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'GID_group1', - ], - 'Timestamp' => [ - 'description' => 'The timestamp of the offset from which consumption starts. This parameter is valid only if you set the Offset parameter to CONSUME_FROM_TIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1636597951964', - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2', - ], - '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' => '', - 'type' => 'string', - 'example' => 'vpc-m5e3sv4b12345****'."\n", - ], - 'InstanceVSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12****'."\n", - ], - 'InstanceSecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-m5edtu24f12345****'."\n", - ], - 'InstanceNetwork' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Json', - ], - 'FilterType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Tag'."\n", - ], - 'FilterSql' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'index > 10', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5e3sv4b12345****'."\n", - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12345****'."\n", - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-m5edtu24f12345****'."\n", - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - ], - ], - 'SourceRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_4', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rmp-cn-jte3w******'."\n", - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'opic_add_anima', - ], - ], - ], - ], - 'SourceApacheRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => 'The parameters that are returned if Apache RocketMQ (Offset Data) is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou'."\n", - ], - 'InstanceId' => [ - 'description' => 'The ID of the Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - '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' => '', - 'type' => 'string', - 'example' => 'vsw-dwaafds****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-mw43*****', - ], - ], - ], - 'SourceKafkaParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for Kafka is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the Message Queue for Apache Kafka instance.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'i-bp1fbtrnqmjvgq66ajdw', - ], - 'Topic' => [ - 'description' => 'The name of the topic.'."\n", - 'type' => 'string', - 'example' => 'topic_empower_1642473600414', - ], - 'ConsumerGroup' => [ - 'description' => 'The ID of the consumer group that subscribes to the topic.'."\n", - 'type' => 'string', - 'example' => 'GID_TEST', - ], - 'OffsetReset' => [ - 'description' => 'The offset.'."\n", - 'type' => 'string', - 'example' => 'latest', - ], - 'Network' => [ - 'description' => 'The network. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'Default', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'vpc-2zehizpoendb3nwwu9w5o', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-wz9qqeovkwjxlu9uc8rst', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'example' => 'sg-2vcgdxz7o1n9zappuimt', - ], - 'ValueDataType' => [ - 'description' => 'The encoding or decoding format. Valid values: Json, Text, and Binary. The value Json indicates that bytes are decoded into UTF-8 strings and then parsed into JSON format. The value Text indicates that bytes are decoded into UTF-8 strings and then put into the payload. The value Binary indicates that bytes are encoded into Base64 strings and put into the payload.'."\n", - 'type' => 'string', - 'example' => 'Text', - ], - ], - ], - 'SourceMQTTParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for MQTT is specified as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the Message Queue for MQTT instance.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'InstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'i-2ze06wqdwk0uq14krrzv', - ], - 'Topic' => [ - 'description' => 'The name of the topic in the Message Queue for MQTT instance.'."\n", - 'type' => 'string', - 'example' => 'TOPIC-cainiao-pcs-wms-instock-noPrealertPrintLabel', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON', - ], - ], - ], - 'SourceDTSParameters' => [ - 'description' => 'The parameters that are returned if the event source is Data Transmission Service (DTS).'."\n", - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => 'f86e5814-b223-482c-b768-3b873297dade', - ], - 'BrokerUrl' => [ - 'description' => 'The URL and port number of the data subscription channel.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Topic' => [ - 'description' => 'The topic to which you want to subscribe by using the data subscription channel.'."\n", - 'type' => 'string', - 'example' => 'TP_TEST_UNDERWRITE_ISSUE', - ], - 'Sid' => [ - 'description' => 'The ID of the consumer group.'."\n", - 'type' => 'string', - 'example' => 'HD1', - ], - 'Username' => [ - 'description' => 'The account of the consumer group.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - 'Password' => [ - 'description' => 'The password of the consumer group.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - 'InitCheckPoint' => [ - 'description' => 'The consumer offset. A consumer offset is a timestamp that indicates when the SDK client consumes the first data record. The value is a UNIX timestamp.'."\n", - 'type' => 'string', - 'example' => '1620962769', - ], - ], - ], - 'SourceSLSParameters' => [ - 'description' => 'The parameters that are returned if the event provider is Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Log Service project.'."\n", - 'type' => 'string', - 'example' => 'dmmzk', - ], - 'LogStore' => [ - 'description' => 'The Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'waf-logstore', - ], - 'ConsumerGroup' => [ - 'description' => 'The consumer group.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'ConsumePosition' => [ - 'description' => 'The starting consumer offset. The value begin indicates the earliest offset, and the value end indicates the latest offset. You can also specify a time in seconds to start consumption.'."\n", - 'type' => 'string', - 'example' => 'begin', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'string', - 'example' => 'testRole', - ], - ], - ], - 'SourcePrometheusParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ClusterId' => [ - 'description' => '', - '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' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'r-8vb64581862c****'."\n", - ], - ], - ], - 'SourceCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => '"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"', - ], - 'ConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test-name'."\n", - ], - 'Config' => [ - 'description' => '', - 'type' => 'object', - 'example' => '{'."\n" - .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" - .' "tasks.max": "1",'."\n" - .' "topics": "sourceA,sourceB"'."\n" - .' }', - ], - ], - ], - 'WorkerParameters' => [ - 'description' => '', - 'type' => 'object', - 'example' => ' '."\n" - .'{'."\n" - .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" - .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" - .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" - .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" - .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" - .' "bootstrap.servers": "alikafka-post:9092"'."\n" - .' }', - ], - ], - ], - 'SourceApacheKafkaParameters' => [ - 'type' => 'object', - 'properties' => [ - 'Bootstraps' => [ - 'type' => 'string', - ], - 'Topic' => [ - 'type' => 'string', - ], - 'ConsumerGroup' => [ - 'type' => 'string', - ], - 'OffsetReset' => [ - 'type' => 'string', - ], - 'ValueDataType' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'NetworkType' => [ - 'type' => 'string', - ], - 'SecurityProtocol' => [ - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'type' => 'string', - ], - 'SaslUser' => [ - 'type' => 'string', - ], - 'SaslPassword' => [ - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'type' => 'string', - ], - ], - ], - 'SourceOSSParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eventbridge_oss_role'."\n", - ], - 'BucketName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'bucket_abc'."\n", - ], - 'Prefix' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fun/document/'."\n", - ], - 'LoadMode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'single'."\n", - ], - 'LoadFormat' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TextLoader'."\n", - ], - 'Delimiter' => [ - 'description' => '', - 'type' => 'string', - 'example' => '\\n'."\n", - ], - ], - ], - 'SourceOpenSourceRabbitMQParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.100:5672', - ], - 'VirtualHostName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eb-connect', - ], - 'QueueName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Json', - ], - 'Username' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'Password' => [ - 'description' => '', - 'type' => 'string', - 'example' => '******', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-bp1vllc1lnw1v657******', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-uf65zhil5oukof5******', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2ze65razphjfz3******', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork'."\n", - ], - 'AuthType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ACL', - ], - ], - ], - 'SourceEventBusParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventBusName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo', - ], - 'EventRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - 'SourceMySQLParameters' => [ - 'description' => '', - '$ref' => '#/components/schemas/SourceMySQLParameters', - ], - 'SourcePostgreSQLParameters' => [ - '$ref' => '#/components/schemas/SourcePostgreSQLParameters', - ], - 'SourceRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', - ], - 'SourceRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', - ], - ], - ], - 'FilterPattern' => [ - 'description' => 'The rule that is used to filter events. If you leave this parameter empty, all events are matched.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Transforms' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud service, such as the ARN of a Function Compute function.'."\n", - 'type' => 'string', - 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", - ], - 'DashScopeTransformParameters' => [ - '$ref' => '#/components/schemas/DashScopeTransformParameters', - ], - 'BaiLianAgentTransformParameters' => [ - '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', - ], - ], - ], - ], - 'Sink' => [ - 'description' => 'The event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'SinkMNSParameters' => [ - 'description' => 'The parameters that are returned if the event target is Message Service (MNS).'."\n", - 'type' => 'object', - 'properties' => [ - 'QueueName' => [ - 'description' => 'The target service type is MNS.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - ], - ], - 'IsBase64Encode' => [ - 'description' => 'Indicates whether Base64 encoding is enabled.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Specifies that Base64 encoding is enabled.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkRabbitMQParameters' => [ - 'description' => 'The parameters that are returned if the event target is Message Queue for RabbitMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The target service type is Message Queue for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'e5c9b727-e06c-4d7e-84d5-f8ce644e00bf', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The vhost name of the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'rabbit-host'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TargetType' => [ - 'description' => 'The target type.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the resource to which the event is delivered. Valid values: Exchange: exchanges. Queue: queues.'."\n", - 'type' => 'string', - 'example' => 'Exchange/Queue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Exchange' => [ - 'description' => 'The exchange mode. This parameter is available only if TargetType is set to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the exchange in the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'a_exchange', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'RoutingKey' => [ - 'description' => 'The routing rule for the message. This parameter is available only if TargetType is set to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The routing rule for the message.'."\n", - 'type' => 'string', - 'example' => 'housekeeping', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'QueueName' => [ - 'description' => 'The queue mode. This parameter is available only if TargetType is set to Queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the queue in the Message Queue for RabbitMQ instance.'."\n", - 'type' => 'string', - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - ], - ], - 'MessageId' => [ - 'description' => 'The message ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - ], - ], - 'Properties' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkFcParameters' => [ - 'title' => '函数目标', - 'description' => 'The parameters that are returned if the event target is Function Compute.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the service.'."\n", - 'type' => 'string', - 'example' => 'myService', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'FunctionName' => [ - 'description' => 'The function name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'example' => 'mFunction', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Concurrency' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'Qualifier' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'string', - 'example' => 'LATEST', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'InvocationType' => [ - 'description' => 'The invocation type. Valid values: Sync: synchronous Async: asynchronous'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The invocation type.'."\n", - 'type' => 'string', - 'example' => 'Async', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Body' => [ - 'description' => 'The message body that is sent to the function.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - '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' => '', - 'type' => 'string', - 'example' => 'JSONPATH', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.data.key', - ], - ], - ], - ], - ], - 'SinkKafkaParameters' => [ - 'description' => 'The parameters that are returned if the event target is Message Queue for Apache Kafka.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The target service type is Message Queue for Apache Kafka.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'Defaut_1283278472_sadkj', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Topic' => [ - 'description' => 'The topic name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The topic name.'."\n", - 'type' => 'string', - 'example' => 'topic-test', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'Acks' => [ - 'description' => 'The acknowledgment information.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The acknowledgment information.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Key' => [ - 'description' => 'The message key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The message key.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Headers' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}'."\n" - ."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Value' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkApacheKafkaParameters' => [ - 'title' => '描述信息', - 'type' => 'object', - 'properties' => [ - 'Bootstraps' => [ - 'type' => 'string', - ], - 'Topic' => [ - 'type' => 'string', - ], - 'Acks' => [ - 'type' => 'string', - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'Key' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Headers' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityProtocol' => [ - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'type' => 'string', - ], - 'SaslUser' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SaslPassword' => [ - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'type' => 'string', - ], - ], - ], - 'SinkRocketMQParameters' => [ - 'description' => 'The parameters that are returned if ApsaraMQ for RocketMQ is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The target service type is Message Queue for Apache RocketMQ.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Topic' => [ - 'description' => 'The name of the topic in the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic in the Message Queue for Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Properties' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'Keys' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - ], - ], - 'Tags' => [ - 'description' => 'The tags that are used to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!', - ], - ], - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_4'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceEndpoint' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceUsername' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstancePassword' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Network' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'DeliveryOrderType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Concurrently', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ShardingKey' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'order_id', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkDorisParameters' => [ - 'type' => 'object', - 'properties' => [ - 'QueryEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'FeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'BeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'UserName' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Password' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Database' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Table' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Body' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - 'SinkRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => 'Sink RocketMQ Checkpoint Parameters', - 'type' => 'object', - 'properties' => [ - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_4', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Group' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Group ID', - 'type' => 'string', - 'example' => 'GID_EVENTBRIDGE_1736234******', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ConsumeTimestamp' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1570761026400', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkApacheRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => 'Sink Apache RocketMQ Checkpoint Parameters', - 'type' => 'object', - 'properties' => [ - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Group' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Group ID', - 'type' => 'string', - 'example' => 'GID_EVENTBRIDGE_1736234******'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ConsumeTimestamp' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1570761026400', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'InstanceEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.1:9876', - ], - 'InstanceUsername' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'InstancePassword' => [ - 'description' => '', - 'type' => 'string', - 'example' => '****', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2zeccak5pb0j3ay******', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-uf62oqt1twuevrt******', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2ze5bmpw6adn0q******', - ], - ], - ], - 'SinkSLSParameters' => [ - 'description' => 'The parameters that are returned if Simple Log Service is specified as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Log Service project.'."\n", - 'type' => 'string', - 'example' => 'test-project'."\n", - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'test-logstore', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Topic' => [ - 'description' => 'The name of the topic in which logs are stored. The topic corresponds to the topic reserved field in Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic in which logs are stored. The topic corresponds to the topic reserved field in Log Service.'."\n", - 'type' => 'string', - 'example' => 'testTopic', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before the transformation.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which the event is transformed.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'string', - 'example' => 'testRole', - ], - 'Form' => [ - 'description' => 'The method that is used to transform the event. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ContentType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSON'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'ContentSchema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkFnfParameters' => [ - 'description' => 'The Sink Fnf parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'FlowName' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'string', - 'example' => 'test-streaming-fnf', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'ExecutionName' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'Input' => [ - 'description' => 'The execution input information.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The execution input information.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role configuration.'."\n", - 'type' => 'string', - 'example' => 'Al****FNF-x****', - ], - 'Form' => [ - 'description' => 'The method that is used to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template style.'."\n", - 'type' => 'string', - 'example' => 'None'."\n", - ], - ], - ], - ], - ], - 'SinkDataHubParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo-project'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Topic' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'demo-topic'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TopicType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TUPLE'."\n", - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'TopicSchema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"k1":"value1","k2":"value2"}', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"k1":"${k1}","k2":"${k2}"}', - ], - ], - ], - 'Body' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ORIGINAL', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'RoleName' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test-role', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'SinkCustomizedKafkaParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '90be1f96-4229-4535-bb76-34b4f6fb****', - ], - ], - ], - 'SinkCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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' => '', - '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' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vrs-cn-lbj3ru1***', - ], - 'Collection' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'collection1', - ], - 'ApiKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Q34nExQH7sQ****', - ], - 'Operation' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Upsert', - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'PrimaryKeyId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSONPATH', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.data.requestId', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '${ID}', - ], - ], - ], - 'Partition' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Vector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'JSONPATH', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '$.data.messageBody', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'DashVectorSchemaParameters' => [ - 'description' => '', - 'type' => 'array', - 'properties' => [ - 'Form' => [ - 'name' => 'Form', - 'description' => '', - 'type' => 'string', - 'example' => 'TEMPLATE', - 'backendName' => 'Form', - ], - 'Value' => [ - 'name' => 'Value', - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .' "value1":"v1",'."\n" - .' "value2":"v2"'."\n" - .'}', - 'backendName' => 'Value', - ], - 'Template' => [ - 'name' => 'Template', - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' {'."\n" - .' "name": "schema1",'."\n" - .' "type": "INT",'."\n" - .' "value": "${value1}"'."\n" - .' },'."\n" - .' {'."\n" - .' "name": "schema2",'."\n" - .' "type": "FLOAT",'."\n" - .' "value": "${value2}"'."\n" - .' }'."\n" - .']', - 'backendName' => 'Template', - ], - ], - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Type' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - 'SinkOpenSourceRabbitMQParameters' => [ - 'description' => 'Sink Open Source RabbitMQ Parameters', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.1:9876', - ], - 'VirtualHostName' => [ - 'description' => '', - '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' => '', - 'type' => 'string', - 'example' => 'vpc-uf6of9452b2pba82c ****', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-uf6of9452b2pba82c ****', - ], - 'SecurityGroupId' => [ - 'description' => '', - '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' => '', - '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' => '', - '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' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '12345', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'Properties' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{"env": "prod"}', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - ], - ], - ], - 'SinkBaiLianParameters' => [ - 'description' => 'Sink BaiLian Parameters', - '$ref' => '#/components/schemas/SinkBaiLianParameters', - ], - 'SinkDataWorksTriggerParameters' => [ - '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', - ], - 'SinkHttpsParameters' => [ - 'title' => 'Https目标参数', - '$ref' => '#/components/schemas/SinkHttpsParameters', - ], - 'SinkApiDestinationParameters' => [ - 'title' => 'ApiDestination目标参数', - '$ref' => '#/components/schemas/SinkApiDestinationParameters', - ], - 'SinkOSSParameters' => [ - '$ref' => '#/components/schemas/SinkOSSParameters', - ], - 'SinkRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', - ], - 'SinkRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', - ], - 'SinkMQTTParameters' => [ - '$ref' => '#/components/schemas/SinkMQTTParameters', - ], - ], - ], - 'RunOptions' => [ - 'description' => 'The runtime environment-related configurations.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaximumTasks' => [ - 'description' => 'The concurrency level.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RetryStrategy' => [ - 'description' => 'The information about the retry policy that is used if the event fails to be pushed.'."\n", - 'type' => 'object', - 'properties' => [ - 'PushRetryStrategy' => [ - 'description' => 'The retry policy. Valid values: BACKOFFRETRY and EXPONENTIALDECAY_RETRY.'."\n", - 'type' => 'string', - 'example' => 'BACKOFFRETRY', - ], - 'MaximumEventAgeInSeconds' => [ - 'description' => 'The maximum period of time during which retries are performed.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '512', - ], - 'MaximumRetryAttempts' => [ - 'description' => 'The maximum number of retries.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '2', - ], - ], - ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. The value NONE specifies that faults are not tolerated, and the value All specifies that all faults are tolerated.'."\n", - 'type' => 'string', - 'example' => 'ALL', - ], - 'DeadLetterQueue' => [ - 'description' => 'Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Messages that fail to be pushed after allowed retries as specified by the retry policy are discarded.'."\n", - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", - 'type' => 'string', - 'example' => 'acs:ram::1550203943326350:role/edskmstoecs', - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2zehizpoendb3****', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5ev8asdc6h12345****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2vcgdxz7o1n9zapp****', - ], - ], - ], - 'BatchWindow' => [ - 'description' => 'The batch window.'."\n", - 'type' => 'object', - 'properties' => [ - 'CountBasedWindow' => [ - 'description' => 'The maximum number of events that are allowed in the batch window. If this threshold is reached, data in the window is pushed downstream. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeBasedWindow' => [ - 'description' => 'The maximum period of time during which events are allowed in the batch window. Unit: seconds. If this threshold is reached, data in the window is pushed downstream. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - 'BusinessOption' => [ - 'type' => 'object', - 'properties' => [ - 'BusinessMode' => [ - 'type' => 'string', - ], - 'MinCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaxCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'Throttling' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'Status' => [ - 'description' => 'The status of the event stream that is returned.'."\n", - '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' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For a list of error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event streaming [xxxx] not existed!\\",\\n \\"RequestId\\": \\"7892F480-58C9-5067-AB35-8A7BEF****\\",\\n \\"Data\\": {\\n \\"EventStreamingName\\": \\"rocketmq-sync\\",\\n \\"Description\\": \\"RocketMQ-to-RocketMQ\\",\\n \\"Source\\": {\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-f8z9a9mcgwri1c1i****\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"comp\\"\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-f8zbher64dlm58pl****\\",\\n \\"Topic\\": \\"topic_add_anima\\",\\n \\"Tag\\": \\"v1\\",\\n \\"Offset\\": \\"CONSUMEFROMLASTOFFSET\\",\\n \\"GroupID\\": \\"GID_group1\\",\\n \\"Timestamp\\": 1636597951964,\\n \\"InstanceType\\": \\"Cloud_4\\\\n\\",\\n \\"InstanceEndpoint\\": \\"reg****-vpc.cn-zhangjiakou.aliyuncs.com\\\\n\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceUsername\\": \\"xxxa\\",\\n \\"InstancePassword\\": \\"xxxa\\",\\n \\"InstanceVpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-m5ev8asdc6h12****\\\\n\\",\\n \\"InstanceSecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"FilterType\\": \\"Tag\\\\n\\",\\n \\"FilterSql\\": \\"index > 10\\",\\n \\"VpcId\\": \\"vpc-m5e3sv4b12345****\\\\n\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\\\n\\",\\n \\"SecurityGroupId\\": \\"sg-m5edtu24f12345****\\\\n\\",\\n \\"Network\\": \\"PublicNetwork\\"\\n },\\n \\"SourceRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceType\\": \\"Cloud_4\\",\\n \\"InstanceId\\": \\"rmp-cn-jte3w******\\\\n\\",\\n \\"Topics\\": [\\n \\"opic_add_anima\\"\\n ]\\n },\\n \\"SourceApacheRocketMQCheckpointParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\\\n\\",\\n \\"InstanceId\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Topics\\": [\\n \\"[\\\\\\"Topic_1\\\\\\",\\\\\\"Topic_2\\\\\\"]\\"\\n ],\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"123456\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-adw1awdw*****\\",\\n \\"VSwitchId\\": \\"vsw-dwaafds****\\",\\n \\"SecurityGroupId\\": \\"sg-mw43*****\\"\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"i-bp1fbtrnqmjvgq66****\\",\\n \\"Topic\\": \\"topic_empower_1642473600414\\",\\n \\"ConsumerGroup\\": \\"GID_TEST\\",\\n \\"OffsetReset\\": \\"latest\\",\\n \\"Network\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-wz9qqeovkwjxlu9uc****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\",\\n \\"ValueDataType\\": \\"Text\\"\\n },\\n \\"SourceMQTTParameters\\": {\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InstanceId\\": \\"i-2ze06wqdwk0uq14k****\\",\\n \\"Topic\\": \\"TOPIC-cainiao-pcs-wms-instock-noPrealertPrintLabel\\",\\n \\"BodyDataType\\": \\"JSON\\"\\n },\\n \\"SourceDTSParameters\\": {\\n \\"TaskId\\": \\"f86e5814-b223-482c-b768-3b873297****\\",\\n \\"BrokerUrl\\": \\"无\\",\\n \\"Topic\\": \\"TP_TEST_UNDERWRITE_ISSUE\\",\\n \\"Sid\\": \\"HD1\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"admin****\\",\\n \\"InitCheckPoint\\": \\"1620962769\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"dmmzk\\",\\n \\"LogStore\\": \\"waf-logstore\\",\\n \\"ConsumerGroup\\": \\"无\\",\\n \\"ConsumePosition\\": \\"begin\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourcePrometheusParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"c83555068b6******ad213f565f209\\\\n\\",\\n \\"DataType\\": \\"Json\\",\\n \\"Labels\\": \\"__name__=.*\\\\n\\",\\n \\"RoleName\\": \\"test-role\\",\\n \\"ExternalLabels\\": \\"{\\\\\\"env\\\\\\":\\\\\\"test\\\\\\"}\\"\\n },\\n \\"SourceCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"r-8vb64581862c****\\\\n\\"\\n },\\n \\"SourceCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"test-name\\\\n\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SourceApacheKafkaParameters\\": {\\n \\"Bootstraps\\": \\"\\",\\n \\"Topic\\": \\"\\",\\n \\"ConsumerGroup\\": \\"\\",\\n \\"OffsetReset\\": \\"\\",\\n \\"ValueDataType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"SecurityProtocol\\": \\"\\",\\n \\"SaslMechanism\\": \\"\\",\\n \\"SaslUser\\": \\"\\",\\n \\"SaslPassword\\": \\"\\",\\n \\"SslTruststoreCertificates\\": \\"\\"\\n },\\n \\"SourceOSSParameters\\": {\\n \\"RoleName\\": \\"eventbridge_oss_role\\\\n\\",\\n \\"BucketName\\": \\"bucket_abc\\\\n\\",\\n \\"Prefix\\": \\"fun/document/\\\\n\\",\\n \\"LoadMode\\": \\"single\\\\n\\",\\n \\"LoadFormat\\": \\"TextLoader\\\\n\\",\\n \\"Delimiter\\": \\"\\\\\\\\n\\\\n\\"\\n },\\n \\"SourceOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.100:5672\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"demo\\",\\n \\"BodyDataType\\": \\"Json\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"******\\",\\n \\"VpcId\\": \\"vpc-bp1vllc1lnw1v657******\\",\\n \\"VSwitchIds\\": \\"vsw-uf65zhil5oukof5******\\",\\n \\"SecurityGroupId\\": \\"sg-2ze65razphjfz3******\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\\\n\\",\\n \\"AuthType\\": \\"ACL\\"\\n },\\n \\"SourceEventBusParameters\\": {\\n \\"EventBusName\\": \\"demo\\",\\n \\"EventRuleName\\": \\"test\\"\\n },\\n \\"SourceMySQLParameters\\": {\\n \\"IncludeSchemaChanges\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"DatabaseName\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Password\\": \\"\\"\\n },\\n \\"SourcePostgreSQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"Port\\": 0,\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"SchemaName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"SnapshotMode\\": \\"\\"\\n },\\n \\"SourceRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Regex\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"MaxHops\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"InnerNameSuffix\\": \\"\\"\\n },\\n \\"SourceRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"OrderConsume\\": \\"\\",\\n \\"BodyDataType\\": \\"\\",\\n \\"PrefetchCount\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n }\\n },\\n \\"FilterPattern\\": \\"无\\",\\n \\"Transforms\\": [\\n {\\n \\"Arn\\": \\"acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func\\\\n\\",\\n \\"DashScopeTransformParameters\\": {\\n \\"Model\\": \\"\\",\\n \\"ApiKey\\": \\"\\",\\n \\"StructuredOutputJsonSchema\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0,\\n \\"Messages\\": [\\n {\\n \\"Role\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n ]\\n },\\n \\"BaiLianAgentTransformParameters\\": {\\n \\"ApplicationId\\": \\"\\",\\n \\"Prompt\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"ApiKey\\": \\"\\",\\n \\"RequestPerMinute\\": 0,\\n \\"TokenPerMinute\\": 0\\n }\\n }\\n ],\\n \\"Sink\\": {\\n \\"SinkMNSParameters\\": {\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"IsBase64Encode\\": {\\n \\"Value\\": \\"true\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkRabbitMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"e5c9b727-e06c-4d7e-84d5-f8ce644e****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"VirtualHostName\\": {\\n \\"Value\\": \\"rabbit-host\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TargetType\\": {\\n \\"Value\\": \\"Exchange/Queue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Exchange\\": {\\n \\"Value\\": \\"a_exchange\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Value\\": \\"housekeeping\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"QueueName\\": {\\n \\"Value\\": \\"MyQueue\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"MessageId\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkFcParameters\\": {\\n \\"ServiceName\\": {\\n \\"Value\\": \\"myService\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"FunctionName\\": {\\n \\"Value\\": \\"mFunction\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Concurrency\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Qualifier\\": {\\n \\"Value\\": \\"LATEST\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"InvocationType\\": {\\n \\"Value\\": \\"Async\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"DataFormat\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Template\\": \\"$.data.key\\"\\n }\\n },\\n \\"SinkKafkaParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"Defaut_1283278472_s****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"test\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"CompressionType\\": \\"\\",\\n \\"Acks\\": {\\n \\"Value\\": \\"1\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Key\\": {\\n \\"Value\\": \\"key\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Headers\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\\\n\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkApacheKafkaParameters\\": {\\n \\"Bootstraps\\": \\"\\",\\n \\"Topic\\": \\"\\",\\n \\"Acks\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"Key\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Headers\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityProtocol\\": \\"\\",\\n \\"SaslMechanism\\": \\"\\",\\n \\"SaslUser\\": \\"\\",\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SaslPassword\\": \\"\\",\\n \\"SslTruststoreCertificates\\": \\"\\"\\n },\\n \\"SinkRocketMQParameters\\": {\\n \\"InstanceId\\": {\\n \\"Value\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Properties\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"Keys\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Tags\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"InstanceType\\": {\\n \\"Value\\": \\"Cloud_4\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": {\\n \\"Value\\": \\"vbr-8vbsvkkbpf3vb0zef****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceUsername\\": {\\n \\"Value\\": \\"admin\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstancePassword\\": {\\n \\"Value\\": \\"admin****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwlvb****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"vbr-8vb835n3zf9shwl****mp\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"b4bf375515f6440f942e3a20c33d****\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\"\\n },\\n \\"Network\\": {\\n \\"Value\\": \\"PublicNetwork\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"DeliveryOrderType\\": {\\n \\"Value\\": \\"Concurrently\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ShardingKey\\": {\\n \\"Value\\": \\"order_id\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDorisParameters\\": {\\n \\"QueryEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"FeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BeHttpEndpoint\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"UserName\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Password\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Database\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Table\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"NetworkType\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VpcId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"VSwitchIds\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"SecurityGroupId\\": {\\n \\"Value\\": \\"\\",\\n \\"Form\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRocketMQCheckpointParameters\\": {\\n \\"InstanceType\\": \\"Cloud_4\\",\\n \\"InstanceId\\": \\"MQ_INST_164901546557****_BAAN****\\",\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_EVENTBRIDGE_1736234******\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1570761026400\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkApacheRocketMQCheckpointParameters\\": {\\n \\"Topic\\": {\\n \\"Value\\": \\"Mytopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Group\\": {\\n \\"Value\\": \\"GID_EVENTBRIDGE_1736234******\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ConsumeTimestamp\\": {\\n \\"Value\\": \\"1570761026400\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"InstanceEndpoint\\": \\"192.168.1.1:9876\\",\\n \\"InstanceUsername\\": \\"admin\\",\\n \\"InstancePassword\\": \\"****\\",\\n \\"NetworkType\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zeccak5pb0j3ay******\\",\\n \\"VSwitchId\\": \\"vsw-uf62oqt1twuevrt******\\",\\n \\"SecurityGroupId\\": \\"sg-2ze5bmpw6adn0q******\\"\\n },\\n \\"SinkSLSParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"test-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"LogStore\\": {\\n \\"Value\\": \\"test-logstore\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"testTopic\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"{\\\\n \\\\\\"key\\\\\\": \\\\\\"value\\\\\\"\\\\n}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"testRole\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentType\\": {\\n \\"Value\\": \\"JSON\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ContentSchema\\": {\\n \\"Value\\": \\"{\\\\\\"Key_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"CONSTANT\\\\\\",\\\\\\"value\\\\\\":\\\\\\"demoKey\\\\\\"},\\\\\\"Value_1\\\\\\":{\\\\\\"form\\\\\\":\\\\\\"JSONPATH\\\\\\",\\\\\\"value\\\\\\":\\\\\\"$.data.value\\\\\\"}}\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkFnfParameters\\": {\\n \\"FlowName\\": {\\n \\"Value\\": \\"test-streaming-fnf\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"ExecutionName\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Input\\": {\\n \\"Value\\": \\"123\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"Al****FNF-x****\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkDataHubParameters\\": {\\n \\"Project\\": {\\n \\"Value\\": \\"demo-project\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\\\n\\",\\n \\"Template\\": \\"无\\\\n\\\\n\\"\\n },\\n \\"Topic\\": {\\n \\"Value\\": \\"demo-topic\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicType\\": {\\n \\"Value\\": \\"TUPLE\\\\n\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"TopicSchema\\": {\\n \\"Value\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"value1\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"value2\\\\\\"}\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"Template\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"${k1}\\\\\\",\\\\\\"k2\\\\\\":\\\\\\"${k2}\\\\\\"}\\"\\n },\\n \\"Body\\": {\\n \\"Value\\": \\"无\\",\\n \\"Form\\": \\"ORIGINAL\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"RoleName\\": {\\n \\"Value\\": \\"test-role\\",\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Template\\": \\"无\\"\\n }\\n },\\n \\"SinkCustomizedKafkaParameters\\": {\\n \\"InstanceId\\": \\"90be1f96-4229-4535-bb76-34b4f6fb****\\"\\n },\\n \\"SinkCustomizedKafkaConnectorParameters\\": {\\n \\"ConnectorPackageUrl\\": \\"\\\\\\"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV******\\\\\\"\\",\\n \\"ConnectorParameters\\": {\\n \\"Name\\": \\"mongo-sink\\",\\n \\"Config\\": {\\n \\"connector.class\\": \\"com.mongodb.kafka.connect.MongoSinkConnector\\",\\n \\"tasks.max\\": \\"1\\",\\n \\"topics\\": \\"sourceA,sourceB\\"\\n }\\n },\\n \\"WorkerParameters\\": {\\n \\"group.id\\": \\"connect-eb-cluster-KAFKA_CONNECTORC\\",\\n \\"offset.storage.topic\\": \\"connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"config.storage.topic\\": \\"connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"status.storage.topic\\": \\"connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC\\",\\n \\"consumer.group.id\\": \\"connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink\\",\\n \\"bootstrap.servers\\": \\"alikafka-post:9092\\"\\n }\\n },\\n \\"SinkDashVectorParameters\\": {\\n \\"InstanceId\\": \\"vrs-cn-lbj3ru1***\\",\\n \\"Collection\\": \\"collection1\\",\\n \\"ApiKey\\": \\"Q34nExQH7sQ****\\",\\n \\"Operation\\": \\"Upsert\\",\\n \\"Network\\": \\"PublicNetwork\\",\\n \\"PrimaryKeyId\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"$.data.requestId\\",\\n \\"Template\\": \\"${ID}\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"default\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Vector\\": {\\n \\"Form\\": \\"JSONPATH\\",\\n \\"Value\\": \\"$.data.messageBody\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"DashVectorSchemaParameters\\": [\\n {\\n \\"Name\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Type\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Value\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"SinkOpenSourceRabbitMQParameters\\": {\\n \\"Endpoint\\": \\"192.168.1.1:9876\\",\\n \\"VirtualHostName\\": \\"vhost1\\",\\n \\"TargetType\\": \\"Exchange\\",\\n \\"Exchange\\": \\"my-exchange\\",\\n \\"QueueName\\": \\"my-queue\\",\\n \\"Username\\": \\"admin\\",\\n \\"Password\\": \\"****\\",\\n \\"VpcId\\": \\"vpc-uf6of9452b2pba82c ****\\",\\n \\"VSwitchIds\\": \\"vsw-uf6of9452b2pba82c ****\\",\\n \\"SecurityGroupId\\": \\"sg-uf6of9452b2pba82c ****\\",\\n \\"NetworkType\\": \\"PublicNetwork\\\\n\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"Form\\\\\\": \\\\\\"CONSTANT\\\\\\", \\\\\\"Value\\\\\\": \\\\\\"my-routing-key\\\\\\"}\\\\n\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"Body\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"key\\\\\\": \\\\\\"value\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"12345\\",\\n \\"Template\\": \\"无\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"CONSTANT\\",\\n \\"Value\\": \\"{\\\\\\"env\\\\\\": \\\\\\"prod\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\\\n\\"\\n }\\n },\\n \\"SinkBaiLianParameters\\": {\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Extend\\": \\"\\",\\n \\"WorkspaceId\\": \\"\\",\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkDataWorksTriggerParameters\\": {\\n \\"Enable\\": \\"\\"\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkOSSParameters\\": {\\n \\"BucketName\\": \\"\\",\\n \\"RegionId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"RoleArn\\": \\"\\",\\n \\"RotateSizeBytes\\": \\"\\",\\n \\"RotateIntervalMs\\": \\"\\",\\n \\"PathFormat\\": \\"\\",\\n \\"CompressionType\\": \\"\\",\\n \\"TaskConcurrency\\": \\"\\",\\n \\"TimeZone\\": \\"\\",\\n \\"SSLEnabled\\": true,\\n \\"ContentTransform\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkRabbitMQMetaParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkRabbitMQMsgSyncParameters\\": {\\n \\"InstanceType\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"Endpoint\\": \\"\\",\\n \\"VirtualHostName\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MessageId\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Properties\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Exchange\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"RoutingKey\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"MaxHops\\": \\"\\",\\n \\"Username\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"NetworkType\\": \\"\\"\\n },\\n \\"SinkMQTTParameters\\": {\\n \\"InstanceId\\": \\"\\",\\n \\"ParentTopic\\": \\"\\",\\n \\"SubTopic\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Payload\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Mqtt5UserProperty\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n }\\n },\\n \\"RunOptions\\": {\\n \\"MaximumTasks\\": 2,\\n \\"RetryStrategy\\": {\\n \\"PushRetryStrategy\\": \\"BACKOFF_RETRY\\",\\n \\"MaximumEventAgeInSeconds\\": 512,\\n \\"MaximumRetryAttempts\\": 2\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:ram::155020394332****:role/edskmstoecs\\",\\n \\"Network\\": \\"PrivateNetwork\\",\\n \\"VpcId\\": \\"vpc-2zehizpoendb3****\\",\\n \\"VSwitchIds\\": \\"vsw-m5ev8asdc6h12345****\\",\\n \\"SecurityGroupId\\": \\"sg-2vcgdxz7o1n9zapp****\\"\\n },\\n \\"BatchWindow\\": {\\n \\"CountBasedWindow\\": 100,\\n \\"TimeBasedWindow\\": 10\\n },\\n \\"BusinessOption\\": {\\n \\"BusinessMode\\": \\"\\",\\n \\"MinCapacityUnitCount\\": 0,\\n \\"MaxCapacityUnitCount\\": 0\\n },\\n \\"Throttling\\": 0\\n },\\n \\"Status\\": \\"RUNNING\\",\\n \\"DetailedStatus\\": {\\n \\"TPS\\": 5,\\n \\"DelayTime\\": 3,\\n \\"DiffOffset\\": 0,\\n \\"Extensions\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'GetEventStreaming', - 'description' => 'You can call this API operation to query the details of an event stream.'."\n", - ], - 'UpdateEventStreaming' => [ - 'summary' => 'Modifies the information about an event stream, such as the basic information and the information about the event source, event filtering rule, and event target.', - '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' => 'The name of the event stream.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myeventstreaming', - 'maxLength' => 255, - 'minLength' => 2, - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'title' => '描述', - 'description' => 'The description of the event stream.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rocketmq2mns', - ], - ], - [ - 'name' => 'FilterPattern', - 'in' => 'formData', - 'schema' => [ - 'title' => '过滤模式', - 'description' => 'The rule that is used to filter events. If you leave this parameter empty, all events are matched.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{'."\n" - .' "source": ['."\n" - .' {'."\n" - .' "prefix": "acs:mns"'."\n" - .' }'."\n" - .' ],'."\n" - .' "type": ['."\n" - .' {'."\n" - .' "prefix": "mns:Queue"'."\n" - .' }'."\n" - .' ],'."\n" - .' "subject": ['."\n" - .' {'."\n" - .' "prefix": "acs:mns:cn-hangzhou:123456789098****:queues/zeus"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - ], - [ - 'name' => 'Source', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '源', - 'description' => 'The event provider, which is also known as the event source. You must and can specify only one event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceMNSParameters' => [ - 'title' => 'Source MNS 参数', - 'description' => 'The parameters that are configured if you specify Message Service (MNS) as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the MNS queue resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'queue_api_1642474203601', - ], - 'IsBase64Decode' => [ - 'description' => 'Specifies whether to enable Base64 encoding. Default value: true.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - 'SourceRabbitMQParameters' => [ - 'title' => 'Source RabbitmQ源', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RabbitMQ as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RabbitMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-f8z9lqkldlb4oxsxwwub', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-connect'."\n", - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - 'SourceKafkaParameters' => [ - 'title' => 'Source Kafka源', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for Kafka as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for Kafka instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-zhangjiakou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-8vbh4a5b9yfhgkkzm98f', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'topic_empower_1641539400786', - ], - 'ConsumerGroup' => [ - 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DEFAULT_GROUP', - ], - 'OffsetReset' => [ - 'description' => 'The offset from which messages are consumed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'latest', - ], - 'Network' => [ - 'description' => 'The network setting. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - 'enum' => [ - 'PublicNetwork', - 'Default', - ], - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze6p0o345nykmekxtuop', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for Kafka instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-wz9t1l1e8eu2omwjazmtm', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-uf6jcm3y5hcs7hklytxh', - ], - 'ValueDataType' => [ - 'description' => 'The encoding or decoding method. Valid values: Json, Text, and Binary. The value Json specifies that binary data is decoded into strings based on UTF-8 encoding and then parsed into the JSON format. The value Text specifies that binary data is decoded into strings based on UTF-8 encoding and then put into the payload. The value Binary specifies that binary data is encoded into strings based on Base64 encoding and then put into the payload.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Text', - ], - ], - 'required' => false, - ], - 'SourceRocketMQParameters' => [ - 'title' => 'Source RocketMQ源', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RocketMQ as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-f8z9a9mcgwri1c1idd0e', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TOPIC-cainiao-pcs-order-process-inBoundConditionCheck', - ], - 'Tag' => [ - 'description' => 'The tag that you want to use to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Offset' => [ - 'description' => 'The offset from which messages are consumed. Valid values:'."\n" - ."\n" - .'* CONSUMEFROMLASTOFFSET: Messages are consumed from the latest offset.'."\n" - .'* CONSUMEFROMFIRSTOFFSET: Messages are consumed from the earliest offset.'."\n" - .'* CONSUMEFROMTIMESTAMP: Messages are consumed from the offset at the specified point in time.'."\n" - ."\n" - .'Default value: CONSUMEFROMLASTOFFSET.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSUMEFROMLASTOFFSET', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID_test', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUMEFROMTIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1670656652009', - ], - 'InstanceType' => [ - 'description' => 'The type of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com'."\n", - ], - 'InstanceUsername' => [ - 'description' => 'The username that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'InstancePassword' => [ - 'description' => 'The password that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'AuthType' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the VPC in which the ApsaraMQ for RocketMQ instance is deployed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5e3sv4b12345****', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h12****', - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-m5edtu24f12345****', - ], - 'InstanceNetwork' => [ - 'description' => 'The network type of the ApsaraMQ for RocketMQ instance. Valid values:'."\n" - ."\n" - .'PublicNetwork and PrivateNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Json', - ], - 'FilterType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Tag', - ], - 'FilterSql' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'index > 10', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5e3sv4b12345****'."\n", - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h12345****'."\n", - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-m5edtu24f12345****'."\n", - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork'."\n", - ], - ], - 'required' => false, - ], - 'SourceRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud_5', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rmq-cn-jte3w******', - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'myTopic', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceApacheRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'Topics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'myTopic', - ], - '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' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => 'VPC ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-adw1awdw*****', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-dwaafds****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-mw43*****', - ], - ], - 'required' => false, - ], - 'SourceMQTTParameters' => [ - 'description' => 'The parameters that are configured if you specify ApsaraMQ for MQTT as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for MQTT instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for MQTT instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1dsudbecqwt61jqswt', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for MQTT instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'topic_empower_1642400400779', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - ], - 'required' => false, - ], - 'SourceDTSParameters' => [ - 'description' => 'The parameters that are configured if you specify Data Transmission Service (DTS) as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f86e5814-b223-482c-b768-3b873297dade', - ], - 'BrokerUrl' => [ - 'description' => 'The URL and port number of the change tracking instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Topic' => [ - 'description' => 'The name of the tracked topic of the change tracking instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LTC_CACHE_PRD', - ], - 'Sid' => [ - 'description' => 'The consumer group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'hkprdb', - ], - 'Username' => [ - 'description' => 'The consumer group username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Password' => [ - 'description' => 'The consumer group password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'InitCheckPoint' => [ - 'description' => 'The UNIX timestamp that is generated when the SDK client consumes the first data record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1620962769', - ], - ], - 'required' => false, - ], - 'SourceSLSParameters' => [ - 'description' => 'The parameters that are configured if you specify Simple Log Service as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole'."\n", - ], - ], - 'required' => false, - ], - 'SourcePrometheusParameters' => [ - 'description' => 'The parameters that are configured if you specify Managed Service for Prometheus as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou'."\n", - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c83555068b6******ad213f565f209'."\n", - ], - 'DataType' => [ - 'description' => 'The data type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'json', - ], - 'Labels' => [ - 'description' => 'The labels.'."\n", - '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' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'r-8vb64581862c****'."\n", - ], - ], - 'required' => false, - ], - 'SourceCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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', - ], - 'Topic' => [ - 'type' => 'string', - ], - 'ConsumerGroup' => [ - 'type' => 'string', - ], - 'OffsetReset' => [ - 'type' => 'string', - ], - 'ValueDataType' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], - 'NetworkType' => [ - 'type' => 'string', - ], - 'SecurityProtocol' => [ - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'type' => 'string', - ], - 'SaslUser' => [ - 'type' => 'string', - ], - 'SaslPassword' => [ - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'type' => 'string', - ], - ], - ], - 'SourceOSSParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eventbridge_oss_role'."\n", - ], - 'BucketName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket_abc'."\n", - ], - 'Prefix' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fun/document/'."\n", - ], - 'LoadMode' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'single'."\n", - ], - 'LoadFormat' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TextLoader', - ], - 'Delimiter' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '\\n', - ], - ], - 'required' => false, - ], - 'SourceEventBusParameters' => [ - 'description' => '', - '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' => '', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.1:9876', - ], - 'VirtualHostName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Vhost1', - ], - 'QueueName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Json', - ], - 'Username' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Password' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '****', - ], - 'VpcId' => [ - 'description' => 'VPC ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5e3sv4b12345****', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h12345****', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-m5edtu24f12345****', - ], - 'NetworkType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PrivateNetwork', - ], - 'AuthType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], - ], - 'required' => false, - ], - 'SourceMySQLParameters' => [ - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/SourceMySQLParameters', - ], - 'SourcePostgreSQLParameters' => [ - '$ref' => '#/components/schemas/SourcePostgreSQLParameters', - ], - 'SourceRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', - ], - 'SourceRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', - ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'Sink', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '事件源名称', - 'description' => 'The event target. You must and can specify only one event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'SinkMNSParameters' => [ - 'title' => '事件源名称', - 'description' => 'The parameters that are configured if you specify Simple Message Queue (SMQ, formerly MNS) as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'QueueName' => [ - 'description' => 'The name of the SMQ queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the SMQ queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'IsBase64Encode' => [ - 'description' => 'Specifies whether to enable Base64 encoding.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Specifies whether to enable Base64 encoding.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkFcParameters' => [ - 'title' => '函数目标', - 'description' => 'The parameters that are configured if you specify Function Compute as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'myService', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'FunctionName' => [ - 'description' => 'The function name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mFunction', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Concurrency' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'Qualifier' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The alias of the service to which the function belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LATEST', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'InvocationType' => [ - 'description' => 'The invocation mode. Valid values: Sync and Async.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The invocation mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Async', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body that you want to deliver to Function Compute.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'DataFormat' => [ - 'description' => 'The rule that you want to use to transform the format of event content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Valid values:'."\n" - ."\n" - .'* ORIGINAL: complete event'."\n" - .'* JSONPATH: partial event'."\n" - .'* CONSTANT: constant'."\n" - .'* TEMPLATE: template'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSONPATH', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '$.data.key'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkRabbitMQParameters' => [ - 'title' => '是否新增', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RabbitMQ as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'amqp-cn-2r42e73o****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rabbit-host'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'TargetType' => [ - 'description' => 'The type of the resource to which you want to deliver events.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the resource to which you want to deliver events. Valid values:'."\n" - ."\n" - .'* Exchange'."\n" - .'* Queue'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Exchange/Queue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Exchange' => [ - 'description' => 'The exchange mode. This parameter is required only if you set TargetType to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the exchange on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a_exchange', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'RoutingKey' => [ - 'description' => 'The rule that you want to use to route messages. This parameter is required only if you set TargetType to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The rule that you want to use to route messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'housekeeping', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'QueueName' => [ - 'description' => 'The queue mode. This parameter is required only if you set TargetType to Queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'MessageId' => [ - 'description' => 'The message ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'description' => 'The attributes that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkKafkaParameters' => [ - 'title' => '描述信息', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for Kafka as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Defaut_1283278472_sadkj', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Headers' => [ - 'description' => 'The metadata added to messages in the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Valid values:'."\n" - ."\n" - .'* ORIGINAL: complete event'."\n" - .'* JSONPATH: partial event'."\n" - .'* CONSTANT: constant'."\n" - .'* TEMPLATE: template'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Acks' => [ - 'description' => 'The acknowledgment (ACK) mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ACK mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Key' => [ - 'description' => 'The message key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The message key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Value' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkApacheKafkaParameters' => [ - 'title' => '描述信息', - 'type' => 'object', - 'properties' => [ - 'Bootstraps' => [ - 'type' => 'string', - ], - 'Topic' => [ - 'type' => 'string', - ], - 'Acks' => [ - 'type' => 'string', - ], - 'Key' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'SecurityProtocol' => [ - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'type' => 'string', - ], - 'SaslUser' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Headers' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SaslPassword' => [ - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'type' => 'string', - ], - ], - ], - 'SinkRocketMQParameters' => [ - 'title' => '事件源类型', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RocketMQ as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'description' => 'The attributes that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Keys' => [ - 'description' => 'The keys that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' '."\n" - .'{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Tags' => [ - 'description' => 'The tags that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'InstanceType' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The instance type. Valid values:'."\n" - ."\n" - .'* Cloud\\_4 (default): ApsaraMQ for RocketMQ 4.0 instance'."\n" - .'* Cloud\\_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" - .'* SelfBuilt: self-managed Apache RocketMQ cluster'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud_4'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The endpoint that is used to access the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The username that is used to access the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The password that is used to access the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'VpcId' => [ - 'description' => 'The virtual private cloud (VPC) ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vb835n3zf9shwlvb****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vb835n3zf9shwl****mp', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'b4bf375515f6440f942e3a20c33d****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Network' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'DeliveryOrderType' => [ - 'description' => 'The type of the message delivery order. This parameter is optional. Default value: Concurrently.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the message delivery order. Valid values:'."\n" - ."\n" - .'* **Orderly**'."\n" - .'* **Concurrently**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Concurrently', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'ShardingKey' => [ - 'description' => 'The sharding key.'."\n" - ."\n" - .'> If you set DeliveryOrderType to Orderly, this parameter is required. If you specify ApsaraMQ for RocketMQ as the event source, you can leave this parameter empty. In this case, the combined value of BrokerName and QueueId is used as the sharding key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value of the sharding key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'order_id', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkDorisParameters' => [ - 'title' => '事件源类型', - 'description' => 'The type of the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'QueryEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'FeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'BeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'UserName' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Password' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Database' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Body' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Table' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RocketMQ (Offset Data) as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceType' => [ - 'description' => 'The instance type. Valid values:'."\n" - ."\n" - .'* Cloud\\_4: ApsaraMQ for RocketMQ 4.0 instance'."\n" - .'* Cloud\\_5: ApsaraMQ for RocketMQ 5.0 instance'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud_4', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'ConsumeTimestamp' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1570761026400', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'Group' => [ - 'description' => 'The ID of the consumer group.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the consumer group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID_EVENTBRIDGE_1736234******', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkApacheRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', - 'description' => 'The parameters that are configured if you specify Apache RocketMQ (Offset Data) as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Topic' => [ - 'description' => 'The name of the topic on the Apache RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'ConsumeTimestamp' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The timestamp that specifies the time from which messages are consumed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1570761026400', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'Group' => [ - 'description' => 'The ID of the consumer group.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the consumer group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID_EVENTBRIDGE_1736234******', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that is used to access the Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.1:9876', - ], - 'InstanceUsername' => [ - 'description' => 'The username that is used to access the Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'InstancePassword' => [ - 'description' => 'The password that is used to access the Apache RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '****', - ], - 'NetworkType' => [ - 'description' => 'The network type.'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zeccak5pb0j3ay******', - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf62oqt1twuevrt******', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-2ze5bmpw6adn0q******', - ], - ], - 'required' => false, - ], - 'SinkSLSParameters' => [ - 'description' => 'The parameters that are configured if you specify Simple Log Service as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-project'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-logstore'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The topic that you want to use to store logs. This parameter corresponds to the reserved field topic in Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The topic that you want to use to store logs. This parameter corresponds to the reserved field topic in Simple Log Service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testTopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body that you want to deliver to Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'ContentType' => [ - 'description' => 'The format of the Simple Log Service data. Valid values:'."\n" - ."\n" - .'* JSON'."\n" - .'* KeyValue'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The format of the Simple Log Service data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'ContentSchema' => [ - 'description' => 'The key-value pair of custom logs. This parameter takes effect only if you set ContentType to KeyValue. Each key-value pair is in the Key_n, Value_n format.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The key-value pair of custom logs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkFnfParameters' => [ - 'description' => 'The parameters that are configured if you specify CloudFlow as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'FlowName' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-streaming-fnf'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'ExecutionName' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Input' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Al****FNF-x****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkPrometheusParameters' => [ - 'description' => 'The parameters that are configured if you specify Managed Service for Prometheus as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'URL' => [ - 'description' => 'The URL for the remote write configuration item of the Managed Service for Prometheus instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The URL for the remote write configuration item of the Managed Service for Prometheus instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'HeaderParameters' => [ - 'description' => 'The parameters that are configured for the request header.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '* If you set Form to CONSTANT, specify a constant.'."\n" - .'* If you set Form to JSONPATH, specify a JSONPath rule.'."\n" - .'* If you set Form to TEMPLATE, specify variables for the template.'."\n" - ."\n" - .'Note: The value of this parameter cannot exceed 10,240 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n" - ."\n" - .'**Valid values:**'."\n" - ."\n" - .'* JSONPATH'."\n" - .'* CONSTANT'."\n" - .'* TEMPLATE'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template that you want to use for HTTP request headers. This parameter is required only if you set Form to TEMPLATE. After the event content is transformed, the data must be in JSON format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "user_name":"${name}"'."\n" - .'}', - ], - ], - 'required' => false, - ], - 'AuthorizationType' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BASIC_AUTH', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Username' => [ - 'description' => 'The username.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '***admin', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Password' => [ - 'description' => 'The password.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'abc', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Data' => [ - 'description' => 'The metric data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The metric data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '$.data', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: JSONPATH.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSONPATH', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'NetworkType' => [ - 'description' => 'The network type.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrivateNetwork', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-adw1awdw*****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'VSwitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-dwaafds****'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-mw43*****'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkDataHubParameters' => [ - 'description' => 'The parameters that are configured if you specify DataHub as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The name of the DataHub project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the DataHub project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo-project'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The name of the DataHub topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the DataHub topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo-topic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'TopicType' => [ - 'description' => 'The data type of the DataHub topic. Valid values:'."\n" - ."\n" - .'* TUPLE'."\n" - .'* BLOB'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The data type of the DataHub topic. Valid values:'."\n" - ."\n" - .'* TUPLE'."\n" - .'* BLOB'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TUPLE', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'TopicSchema' => [ - 'description' => 'The data is of the TUBLE type, and a schema is defined for the DataHub topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The data is of the TUBLE type, and a schema is defined for the DataHub topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"k1":"value1","k2":"value2"}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"k1":"${k1}","k2":"${k2}"}', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The data is of the BLOB type, and a template is defined for the record.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The data is of the BLOB type, and a template is defined for the record.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ORIGINAL', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-role'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT'."\n", - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'ContentType' => [ - 'description' => 'The data format. Valid values:'."\n" - ."\n" - .'* JSON'."\n" - .'* KeyValue'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'ContentSchema' => [ - 'description' => 'The key-value pair of custom logs. This parameter takes effect only if you set ContentType to KeyValue. Each key-value pair is in the Key_n, Value_n format.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before event transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', - ], - 'Form' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkCustomizedKafkaParameters' => [ - 'description' => 'The parameters that are configured if you specify Kafka Source Connect as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', - ], - ], - 'required' => false, - ], - 'SinkCustomizedKafkaConnectorParameters' => [ - 'description' => 'The parameters that are configured if you specify Kafka Sink Connect as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => 'The download link of the ZIP package that includes Object Storage Service (OSS) resources.'."\n", - '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' => 'The parameters that are configured for the parsing of the .properties file in the ZIP package.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The connector name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mongo-sink', - ], - 'Config' => [ - 'description' => 'The connector configurations.'."\n", - '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' => 'The instance configurations.'."\n", - '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' => 'The parameters that are configured if you specify DashVector as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the DashVector instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vrs-cn-lbj3ru1***', - ], - 'Collection' => [ - 'description' => 'The collection name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'collection1', - ], - 'ApiKey' => [ - 'description' => 'The API key that you want to create in the DashVector console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Q34nExQH7sQ****', - ], - 'Operation' => [ - 'description' => 'The type of operation that you want to perform on the DashVector database. Valid values:'."\n" - ."\n" - .'* Delete'."\n" - .'* Upsert'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Upsert', - ], - 'Network' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PrivateNetwork'."\n" - .'* PublicNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork', - ], - 'PrimaryKeyId' => [ - 'description' => 'The ID of the primary key that you want to use when you insert or delete records. If you do not specify this parameter, a random primary key ID is returned.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Valid values:'."\n" - ."\n" - .'* JSONPATH'."\n" - .'* TEMPLATE'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSONPATH', - ], - 'Value' => [ - 'description' => 'If you set Form to JSONPATH, specify a JSONPath rule. If you set Form to TEMPLATE, specify variables for the template.'."\n" - ."\n" - .'> The value of this parameter cannot exceed 10,240 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '$.data.requestId', - ], - 'Template' => [ - 'description' => 'The template that you want to use to specify primary key IDs. This parameter is required only if you set Form to TEMPLATE.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '${ID}', - ], - ], - 'required' => false, - ], - 'Partition' => [ - 'description' => 'The partition. Default value: default.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Valid values:'."\n" - ."\n" - .'* JSONPATH'."\n" - .'* CONSTANT'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT'."\n", - ], - 'Value' => [ - 'description' => '* If you set Form to CONSTANT, specify a constant.'."\n" - .'* If you set Form to JSONPATH, specify a JSONPath rule.'."\n" - ."\n" - .'> The value of this parameter cannot exceed 10,240 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Vector' => [ - 'description' => 'The vector that is recorded when data is inserted into DashVector.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSONPATH', - ], - 'Value' => [ - 'description' => 'The JSONPath rule that you want to use to extract content.'."\n" - ."\n" - .'> The value of this parameter cannot exceed 10,240 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '$.data.messageBody', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'DashVectorSchemaParameters' => [ - 'description' => 'The parameters in the Schema field of the table when data is inserted into DashVector. After the event content is transformed, the data must be in JSON format.'."\n", - 'type' => 'array', - 'properties' => [ - 'Form' => [ - 'name' => 'Form', - 'description' => 'The method that you want to use to transform events. Valid values:'."\n" - ."\n" - .'* JSONPATH'."\n" - .'* CONSTANT'."\n" - .'* TEMPLATE'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - 'backendName' => 'Form', - ], - 'Value' => [ - 'name' => 'Value', - 'description' => '* If you set Form to CONSTANT, specify a constant.'."\n" - .'* If you set Form to JSONPATH, specify a JSONPath rule.'."\n" - .'* If you set Form to TEMPLATE, specify variables for the template.'."\n" - ."\n" - .'> The value of this parameter cannot exceed 10,240 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "value1":"v1",'."\n" - .' "value2":"v2"'."\n" - .'}', - 'backendName' => 'Value', - ], - 'Template' => [ - 'name' => 'Template', - 'description' => 'The schema template. This parameter is required only if you set Form to TEMPLATE. After the event content is transformed, the data must be an array in the JSON format. Each schema corresponds to a JSON object. The properties include only the name, type, and value fields. The value of the type field can be only of the INT, FLOAT, STRING, or BOOL type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' {'."\n" - .' "name": "schema1",'."\n" - .' "type": "INT",'."\n" - .' "value": "${value1}"'."\n" - .' },'."\n" - .' {'."\n" - .' "name": "schema2",'."\n" - .' "type": "FLOAT",'."\n" - .' "value": "${value2}"'."\n" - .' }'."\n" - .']', - 'backendName' => 'Template', - ], - ], - 'required' => false, - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Type' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - 'required' => false, - ], - 'SinkOpenSourceRabbitMQParameters' => [ - 'description' => 'The parameters that are configured if you specify open source RabbitMQ as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint used to access the open source RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.1:9876', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the virtual host of the open source RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Vhost1', - ], - 'TargetType' => [ - 'description' => 'The type of the resource to which you want to deliver messages. Valid values:'."\n" - ."\n" - .'* **Exchange**: Messages are routed to the event target using an exchange.'."\n" - .'* **Queue**: Messages are delivered to a specific queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Exchange', - ], - 'Exchange' => [ - 'description' => 'The name of the exchange on the open source RabbitMQ instance. This parameter is valid only if you set TargetType to Exchange.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my-exchange', - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the open source RabbitMQ instance. This parameter is valid only if you set TargetType to Queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my-queue', - ], - 'Username' => [ - 'description' => 'The username that is used to access the open source RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Password' => [ - 'description' => 'The password that is used to access the open source RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '****', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6of9452b2pba82c ****', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf6of9452b2pba82c ****', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-uf6of9452b2pba82c ****', - ], - 'NetworkType' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PrivateNetwork'."\n" - .'* PublicNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork'."\n", - ], - 'AuthType' => [ - 'description' => 'The authentication type. Valid values:'."\n" - ."\n" - .'* ACL'."\n" - .'* N/A'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], - 'RoutingKey' => [ - 'description' => 'The routing key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => 'The routing key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"Form": "CONSTANT", "Value": "my-routing-key"}', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => 'The value of the raw data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"key": "value"}', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'MessageId' => [ - 'description' => 'The message ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => 'The value of the message ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '12345', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'description' => 'The attributes of the message.'."\n", - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'description' => 'The attribute value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"env": "prod"}', - ], - 'Template' => [ - 'description' => 'The template based on which you want events to be transformed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkBaiLianParameters' => [ - 'description' => 'The parameters that are configured if you specify BaiLian as the event target.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/SinkBaiLianParameters', - ], - 'SinkDataWorksTriggerParameters' => [ - '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', - ], - 'SinkHttpsParameters' => [ - 'title' => 'Https目标参数', - '$ref' => '#/components/schemas/SinkHttpsParameters', - ], - 'SinkApiDestinationParameters' => [ - 'title' => 'ApiDestination目标参数', - '$ref' => '#/components/schemas/SinkApiDestinationParameters', - ], - 'SinkOSSParameters' => [ - '$ref' => '#/components/schemas/SinkOSSParameters', - ], - 'SinkRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', - ], - 'SinkRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', - ], - 'SinkMQTTParameters' => [ - '$ref' => '#/components/schemas/SinkMQTTParameters', - ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'RunOptions', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured for the runtime environment.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaximumTasks' => [ - 'title' => '并发数', - 'description' => 'The maximum number of concurrent tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'ErrorsTolerance' => [ - 'title' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)', - 'description' => 'The exception tolerance policy. Valid values: NONE and ALL.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALL', - ], - 'RetryStrategy' => [ - 'description' => 'The retry policy that you want to use if events fail to be pushed.'."\n", - 'type' => 'object', - 'properties' => [ - 'PushRetryStrategy' => [ - 'title' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)', - 'description' => 'The retry policy. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BACKOFFRETRY', - ], - 'MaximumEventAgeInSeconds' => [ - 'title' => '最大重试时间', - 'description' => 'The maximum timeout period for a retry.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '512', - ], - 'MaximumRetryAttempts' => [ - 'title' => '最大重试次数', - 'description' => 'The maximum number of retries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - ], - 'required' => false, - ], - 'DeadLetterQueue' => [ - 'description' => 'Specifies whether to enable dead-letter queues. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.'."\n", - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'title' => '死信队列ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:ram::1317334647812936:role/rdstoecsassumekms'."\n", - ], - 'Network' => [ - 'description' => 'The network type of the dead-letter queue. Valid values:'."\n" - ."\n" - .'* PrivateNetwork'."\n" - .'* PublicNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zehizpoendb3****', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h12345****', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-2vcgdxz7o1n9zapp****', - ], - ], - 'required' => false, - ], - 'BatchWindow' => [ - 'description' => 'The batch window.'."\n", - 'type' => 'object', - 'properties' => [ - 'CountBasedWindow' => [ - 'description' => 'The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - 'TimeBasedWindow' => [ - 'description' => 'The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - 'required' => false, - ], - 'BusinessOption' => [ - 'type' => 'object', - 'properties' => [ - 'BusinessMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'MinCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'MaxCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Throttling' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'Transforms', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', - ], - 'DashScopeTransformParameters' => [ - '$ref' => '#/components/schemas/DashScopeTransformParameters', - ], - 'BaiLianAgentTransformParameters' => [ - '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The name [xxxx] of event streaming in request is already exist!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The name [xxxx] of event streaming in request is already exist!\\",\\n \\"RequestId\\": \\"0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'UpdateEventStreaming', - 'description' => 'You can call this API operation to modify the information about an event stream, such as the basic information and the information about the event source, event filtering rule, and event target.'."\n", - ], - 'CreateEventStreaming' => [ - 'summary' => 'Creates an event stream.', - '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' => 'The name of the event stream.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'myeventstreaming', - 'maxLength' => 255, - 'minLength' => 2, - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'title' => '描述', - 'description' => 'The description of the event stream.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rocketmq2mns', - ], - ], - [ - 'name' => 'FilterPattern', - 'in' => 'formData', - 'schema' => [ - 'title' => '过滤模式', - 'description' => 'The rule that is used to filter events. If you leave this parameter empty, all events are matched.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '', - ], - ], - [ - 'name' => 'Source', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '源', - 'description' => 'The event provider, which is also known as the event source. You must and can specify only one event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'SourceMNSParameters' => [ - 'title' => 'Source MNS 参数', - 'description' => 'The parameters that are configured if you specify Message Service (MNS) as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the MNS queue resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - 'QueueName' => [ - 'description' => 'The queue name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'queue_api_1642474203601', - ], - 'IsBase64Decode' => [ - 'description' => 'Specifies whether to enable Base64 encoding. Default value: true.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - 'SourceRabbitMQParameters' => [ - 'title' => 'Source RabbitmQ源', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RabbitMQ as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RabbitMQ instance resides. You can call the [DescribeRegions](~~62010~~) operation to query the most recent region list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'gtm-cn-k2c2yfgzt02', - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-connect', - ], - 'QueueName' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - 'SourceKafkaParameters' => [ - 'title' => 'Source Kafka源', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for Kafka as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for Kafka instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-8vb64581862cd814', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'popvip_center_robot_order', - ], - 'ConsumerGroup' => [ - 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DEFAULT_GROUP', - ], - 'OffsetReset' => [ - 'description' => 'The offset from which messages are consumed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'latest', - ], - 'Network' => [ - 'description' => 'The network type. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - 'enum' => [ - 'PublicNetwork', - 'Default', - ], - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vblalsi0vbhizr77cbhu', - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for Kafka instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp179l3llg3jjxwrq72hh', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for Kafka instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-bp1iv19sp1msc7zot4wr', - ], - 'ValueDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - ], - 'required' => false, - ], - 'SourceRocketMQParameters' => [ - 'title' => 'Source RocketMQ', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RocketMQ as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for RocketMQ instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-qingdao', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default_C56C360261515', - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Topic_publicRule_api_1667273421288', - ], - 'Tag' => [ - 'description' => 'The tag that you want to use to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Offset' => [ - 'description' => 'The offset from which messages are consumed. Valid values:'."\n" - ."\n" - .'* CONSUME_FROM_LAST_OFFSET: Messages are consumed from the latest offset.'."\n" - .'* CONSUME_FROM_FIRST_OFFSET: Messages are consumed from the earliest offset.'."\n" - .'* CONSUME_FROM_TIMESTAMP: Messages are consumed from the offset at the specified point in time.'."\n" - ."\n" - .'Default value: CONSUME_FROM_LAST_OFFSET.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSUMEFROMLAST_OFFSET', - ], - 'GroupID' => [ - 'description' => 'The ID of the consumer group on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'GID_group1', - ], - 'Timestamp' => [ - 'description' => 'The timestamp that indicates the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1670656652009', - ], - 'InstanceType' => [ - 'description' => 'The type of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'registry-vpc.cn-zhangjiakou.aliyuncs.com', - ], - 'InstanceUsername' => [ - 'description' => 'The username that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'InstancePassword' => [ - 'description' => 'The password that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Network' => [ - 'description' => 'The network type. Valid values: PublicNetwork and PrivateNetwork.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrivateNetwork' => 'PrivateNetwork', - 'PublicNetwork' => 'PublicNetwork', - ], - 'example' => 'PrivateNetwork', - ], - 'FilterType' => [ - 'description' => 'The method that you want to use to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Tag', - ], - 'FilterSql' => [ - 'description' => 'The SQL statement that you want to use to filter messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'index > 10', - ], - 'AuthType' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACL', - ], - 'VpcId' => [ - 'description' => 'The VPC ID of the cross-border task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5e3sv4b123456789', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID of the cross-border task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h123456789', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID of the cross-border task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-m5edtu24f123456789', - ], - 'InstanceVpcId' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5e3sv4b123456789', - ], - 'InstanceVSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ev8asdc6h123456789', - ], - 'InstanceSecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-m5edtu24f123456789', - ], - 'InstanceNetwork' => [ - 'description' => 'The network type. Valid values:'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - ], - 'required' => false, - ], - 'SourceRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Topics' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceApacheRocketMQCheckpointParameters' => [ - 'title' => 'Source RocketMQ Checkpoint源', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Topics' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - 'InstanceEndpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceUsername' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstancePassword' => [ - 'type' => 'string', - 'required' => false, - ], - 'NetworkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceMQTTParameters' => [ - 'description' => 'The parameters that are configured if you specify ApsaraMQ for MQTT as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region where the ApsaraMQ for MQTT instance resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for MQTT instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-bp1b5ncun5lqerzg4r', - ], - 'Topic' => [ - 'description' => 'The topic from which messages are sent.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CANAL_VICUTU_UAT', - ], - 'BodyDataType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - ], - 'required' => false, - ], - 'SourceDTSParameters' => [ - 'description' => 'The parameters that are configured if you specify Data Transmission Service (DTS) as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'f86e5814-b223-482c-b768-3b873297dade', - ], - 'BrokerUrl' => [ - 'description' => 'The URL and port number of the change tracking instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Topic' => [ - 'description' => 'The name of the tracked topic of the change tracking instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LTC_CACHE_PRD', - ], - 'Sid' => [ - 'description' => 'The consumer group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HD3', - ], - 'Username' => [ - 'description' => 'The consumer group username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Password' => [ - 'description' => 'The consumer group password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'InitCheckPoint' => [ - 'description' => 'The UNIX timestamp that is generated when the SDK client consumes the first data record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1620962769', - ], - ], - 'required' => false, - ], - 'SourceSLSParameters' => [ - 'description' => 'The parameters that are configured if you specify Simple Log Service as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sas-log', - ], - 'ConsumePosition' => [ - 'description' => 'The consumer offset. The value begin specifies the earliest offset. The value end specifies the latest offset. You can also specify a time in seconds to start consumption.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'end', - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the Resource Access Management (RAM) console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole', - ], - ], - 'required' => false, - ], - 'SourcePrometheusParameters' => [ - 'description' => 'Parameters that are configured if you specify Managed Service for Prometheus as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'ClusterId' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c83555068b6******ad213f565f209', - ], - 'DataType' => [ - 'description' => 'The data type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'json', - ], - 'Labels' => [ - 'description' => 'The labels.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '__name__=.*', - ], - 'RoleName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ExternalLabels' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceCustomizedKafkaParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'r-8vb64581862c****'."\n", - ], - ], - 'required' => false, - ], - 'SourceCustomizedKafkaConnectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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' => '', - '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参数配置', - 'type' => 'object', - 'properties' => [ - 'Bootstraps' => [ - 'title' => '接入点', - 'type' => 'string', - ], - 'Topic' => [ - 'title' => '主题名称', - 'type' => 'string', - ], - 'ConsumerGroup' => [ - 'title' => '消费者名称', - 'type' => 'string', - ], - 'OffsetReset' => [ - 'title' => '消费位点'."\n" - .'latest 使用该配置系统将从最新位点开始读取数据'."\n" - .'earliest 使用该配置系统将从最早位点开始读取数据,该配置仅支持未使用的 Group 首次初始化'."\n", - 'type' => 'string', - ], - 'ValueDataType' => [ - 'title' => '数据类型,枚举值:'."\n" - .'Text'."\n" - .'Binary'."\n" - .'Json', - 'type' => 'string', - ], - 'VpcId' => [ - 'title' => 'Kafka源的VPC ID', - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'title' => 'Kafka源的交换机ID列表', - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'title' => 'Kafka源的安全组ID', - 'type' => 'string', - ], - 'NetworkType' => [ - 'title' => '指定Kafka网络类型', - 'type' => 'string', - ], - 'SecurityProtocol' => [ - 'title' => 'Kafka安全协议类型'."\n" - .'SASL_SSL'."\n" - .'PLAINTEXT'."\n" - .'SASL_PLAINTEXT', - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'title' => 'Kafka SASL认证机制', - 'type' => 'string', - ], - 'SaslUser' => [ - 'title' => 'Kafka SASL认证用户名', - 'type' => 'string', - ], - 'SaslPassword' => [ - 'title' => 'Kafka SASL认证密码', - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'title' => 'SSL 信任库证书(Base64 编码的 PEM 格式)'."\n", - 'type' => 'string', - ], - ], - ], - 'SourceOSSParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eventbridge_oss_role', - ], - 'BucketName' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket_abc', - ], - 'Prefix' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fun/document/', - ], - 'LoadMode' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'single' => 'single', - 'element' => 'element', - ], - 'example' => 'single', - ], - 'LoadFormat' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'TextLoader' => 'TextLoader', - ], - 'example' => 'TextLoader', - ], - 'Delimiter' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '\\n', - ], - ], - 'required' => false, - ], - 'SourceOpenSourceRabbitMQParameters' => [ - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'VirtualHostName' => [ - 'type' => 'string', - 'required' => false, - ], - 'QueueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'BodyDataType' => [ - 'type' => 'string', - 'required' => false, - ], - 'Username' => [ - 'type' => 'string', - 'required' => false, - ], - 'Password' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'NetworkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'AuthType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceEventBusParameters' => [ - 'type' => 'object', - 'properties' => [ - 'EventBusName' => [ - 'type' => 'string', - 'required' => false, - ], - 'EventRuleName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'SourceMySQLParameters' => [ - 'required' => false, - '$ref' => '#/components/schemas/SourceMySQLParameters', - ], - 'SourcePostgreSQLParameters' => [ - '$ref' => '#/components/schemas/SourcePostgreSQLParameters', - ], - 'SourceRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', - ], - 'SourceRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', - ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'Sink', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '事件源名称', - 'description' => 'The event target. You must and can specify only one event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'SinkMNSParameters' => [ - 'title' => '事件源名称', - 'description' => 'The parameters that are configured if you specify MNS as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'QueueName' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the MNS queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'TEMPLATE' => 'TEMPLATE', - ], - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'IsBase64Encode' => [ - 'description' => 'Specifies whether to enable Base64 encoding.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'Specifies whether to enable Base64 encoding.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkRabbitMQParameters' => [ - 'title' => '是否新增', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RabbitMQ as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a5ff91ad4f3f24947887fe184fc20d07', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'VirtualHostName' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the vhost to which the ApsaraMQ for RabbitMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rabbit-host', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'TargetType' => [ - 'description' => 'The type of the resource to which you want to deliver events.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the resource to which you want to deliver events. Valid values:'."\n" - ."\n" - .'* Exchange'."\n" - .'* Queue'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Exchange/Queue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Exchange' => [ - 'description' => 'The exchange mode. This parameter is required only if you set TargetType to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the exchange on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'a_exchange', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'RoutingKey' => [ - 'description' => 'The rule that you want to use to route messages. This parameter is required only if you set TargetType to Exchange.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The rule that you want to use to route messages.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'housekeeping', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'QueueName' => [ - 'description' => 'The queue mode. This parameter is required only if you set TargetType to Queue.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MyQueue', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'MessageId' => [ - 'description' => 'The message ID.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'description' => 'The properties that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkKafkaParameters' => [ - 'title' => '描述信息', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for Kafka as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Defaut_1283278472_sadkj', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for Kafka instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Acks' => [ - 'description' => 'The acknowledgment (ACK) mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ACK mode.'."\n" - ."\n" - .'* If you set this parameter to 0, no response is returned from the broker. In this mode, the performance is high, but the risk of data loss is also high.'."\n" - .'* If you set this parameter to 1, a response is returned when data is written to the leader. In this mode, the performance and the risk of data loss are moderate. Data loss may occur if a failure occurs on the leader.'."\n" - .'* If you set this parameter to all, a response is returned when data is written to the leader and synchronized to the followers. In this mode, the performance is low, but the risk of data loss is also low. Data loss occurs if the leader and the followers fail at the same time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Key' => [ - 'description' => 'The message key.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The message key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Value' => [ - 'description' => 'The message body.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Headers' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'Column' => ['description' => 'The column name.', 'type' => 'string', 'required' => false, 'example' => 'source', 'title' => ''], + 'Desc' => ['description' => 'Specifies whether to sort the results in descending order.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'CompressionType' => [ - 'type' => 'string', - ], + 'Offset' => ['description' => 'The starting position of the query. The count starts from 0.', 'type' => 'integer', 'required' => false, 'example' => '0', 'title' => ''], + 'Limit' => ['description' => 'The maximum number of events to query. Valid values: 1 to 10,000.', 'type' => 'integer', 'required' => false, 'example' => '100', 'title' => ''], + 'TimeRange' => ['description' => 'The time range. Unit: milliseconds. The minimum value is 1,000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000000', 'title' => ''], + 'StartTime' => ['description' => 'The start timestamp for the event query. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'minimum' => '946684800000', 'required' => false, 'example' => '1687860901814', 'title' => ''], + 'EndTime' => ['description' => 'The end timestamp for the event query. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'minimum' => '946684800000', 'required' => false, 'example' => '1687861201814', 'title' => ''], ], - 'required' => false, + 'required' => true, + 'title' => '', + 'example' => '', ], - 'SinkApacheKafkaParameters' => [ - 'title' => '描述信息', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Specified parameter Limit is not valid.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5DAF96FB-A4B6-548C-B999-XXXXXXXX', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Bootstraps' => [ - 'title' => 'Kafka集群的初始连接地址', - 'type' => 'string', - ], - 'Topic' => [ - 'type' => 'string', - ], - 'Acks' => [ - 'type' => 'string', - ], - 'Key' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Value' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'Headers' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityProtocol' => [ - 'type' => 'string', - ], - 'SaslMechanism' => [ - 'type' => 'string', - ], - 'SaslUser' => [ - 'type' => 'string', - ], - 'SslTruststoreCertificates' => [ - 'type' => 'string', - ], - 'CompressionType' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'VSwitchIds' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', - ], - ], - ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', + 'NextToken' => ['description' => 'The token used to retrieve the next page of results. If this parameter is empty, all results have been returned.', 'type' => 'string', 'title' => '', 'example' => '100'], + 'MaxResults' => ['description' => 'The maximum number of entries to return.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'], + 'TotalCount' => ['description' => 'The total number of entries that meet the filter conditions. This parameter is optional and is not returned by default.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '76'], + 'TimeSeries' => [ + 'description' => 'The query results for the `time series` query type.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RowData' => ['description' => 'A query result entry, represented as a key-value pair.', 'type' => 'object', 'example' => '{'."\n" + .' "id":"xxx",'."\n" + .' "source":"acs.ecs"'."\n" + .'}', 'title' => ''], + 'Time' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1683561600000', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'NetworkType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - ], - 'Form' => [ - 'type' => 'string', - ], - 'Template' => [ - 'type' => 'string', + 'Table' => [ + 'description' => 'The query results for the `table` query type.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RowData' => ['description' => 'A query result entry, represented as a key-value pair.', 'type' => 'object', 'example' => '{'."\n" + .' "id":"xxx",'."\n" + .' "source":"acs.ecs"'."\n" + .'}', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'SaslPassword' => [ - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'SinkFcParameters' => [ - 'title' => '函数目标', - 'description' => 'The parameters that are configured if you specify Function Compute as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'ServiceName' => [ - 'description' => 'The service name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The service name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'myService', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'FunctionName' => [ - 'description' => 'The function name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The function name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'myFunction', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Concurrency' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The delivery concurrency. Minimum value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'None'."\n", - ], - ], - 'required' => false, - ], - 'Qualifier' => [ - 'description' => 'The service version.'."\n", + 'Code' => ['description' => 'The status of the API call, which can be Success or a POP error code.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the call was successful. `true` indicates success, and `false` indicates failure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-XXXXXXXX\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 76,\\n \\"TimeSeries\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n },\\n \\"Time\\": \\"1683561600000\\"\\n }\\n ],\\n \\"Table\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'EventCenterQueryEvents', + 'changeSet' => [ + ['createdAt' => '2024-10-18T09:28:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-05T06:20:26.000Z', 'description' => 'Request parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', + ], + 'GetAgent' => [ + 'summary' => 'Retrieves agent metadata.', + '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' => 'The agent name.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'my-agent'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E0FFAB67-XXXXXX-CAD4D37448C4', 'title' => ''], + 'Data' => ['description' => 'The returned result.', '$ref' => '#/components/schemas/Agent', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The API status or POP error code. Valid values: Success: succeeded.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Retrieve agent metadata', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:GetAgent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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"}]', + 'translator' => 'machine', + ], + 'GetApiDestination' => [ + 'summary' => 'Queries the information about an API destination.', + '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' => 'The name of the API destination.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'api-destination-name', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => ['description' => 'The name of the API destination.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'ConnectionName' => ['description' => 'The connection name.'."\n", 'type' => 'string', 'example' => 'test-basic', 'title' => ''], + 'Description' => ['description' => 'The description of the API destination.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'HttpApiParameters' => [ + 'description' => 'The request parameters that are configured for the API destination.'."\n", 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The service version.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LATEST', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, + 'Endpoint' => ['description' => 'The endpoint of the API destination.'."\n", 'type' => 'string', 'example' => 'http://127.0.0.1:8001/api'."\n", 'title' => ''], + 'Method' => ['description' => 'The HTTP request method. Valid values:'."\n" + ."\n" + .'* POST'."\n" + .'* GET'."\n" + .'* DELETE'."\n" + .'* PUT'."\n" + .'* HEAD'."\n" + .'* TRACE'."\n" + .'* PATCH'."\n", 'type' => 'string', 'example' => 'POST', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'InvocationType' => [ - 'description' => 'The invocation mode. Valid values: Sync and Async.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The invocation mode. Valid values: Sync and Async.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Async' => 'Async', - 'Sync' => 'Sync', - ], - 'example' => 'Async', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'GmtCreate' => ['description' => 'The time when the API destination was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1649055710565', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + ['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''], + ['errorCode' => 'ApiDestinationNotExist', 'errorMessage' => 'The api-destination not existed!', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C361108\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinationName\\": \\"demo\\",\\n \\"ConnectionName\\": \\"test-basic\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\\\n\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1649055710565\\n }\\n}","type":"json"}]', + 'title' => 'GetApiDestination', + 'description' => 'You can call this API operation to query the information about an API destination.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:GetApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + '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' => 'Data catalog name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_catalog', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotency token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'Response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Code' => ['title' => '', 'description' => 'Response code. 200 indicates success.', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], + 'Data' => ['description' => 'Catalog details', '$ref' => '#/components/schemas/Catalog', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query catalog', + 'summary' => 'Get data catalog', + '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"}]', + 'translator' => 'machine', + ], + 'GetConnection' => [ + 'summary' => 'Queries the configuration information of a single connection.', + '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' => 'The name of the connection.', 'type' => 'string', 'required' => true, 'example' => 'connection-name', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The returned request ID.', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****', 'title' => ''], + 'Message' => ['description' => 'The information returned by the API request.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The API status or POP error code. Valid values: Success: The request was successful.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'HttpCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Data' => [ + 'description' => 'The returned result.', + 'type' => 'object', + 'properties' => [ + 'Connections' => [ + 'description' => 'The list of connection configuration information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of the connection configuration information.', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => ['description' => 'The name of the connection configuration.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'Id' => ['description' => 'The data source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '5668', 'title' => ''], + 'Description' => ['description' => 'The description of the connection configuration.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'Type' => ['title' => '', 'description' => 'The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch.', 'type' => 'string', 'example' => 'Http'], + 'Parameters' => ['title' => '', 'description' => 'The data source connection parameters (JSON object). Only returned for data source type connections. Empty for the Http type. For field definitions, refer to the ParamsSchema returned by GetConnectionType.', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}'], + 'GmtCreate' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1669648905', 'title' => ''], + 'NetworkParameters' => [ + 'description' => 'The data structure of the network configuration.', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => ['description' => '- Internet: PublicNetwork'."\n" + ."\n" + .'- Virtual private cloud (VPC): PrivateNetwork', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'example' => 'eb-test/vpc-bp1symadadwnwg****', 'title' => ''], + 'VswitcheId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body that you want to deliver to Function Compute.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'ORIGINAL' => 'ORIGINAL', - 'TEMPLATE' => 'TEMPLATE', + 'AuthParameters' => [ + 'description' => 'The data structure of the permission.', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => ['description' => 'The authorization type:'."\n" + ."\n" + .'- BASIC: BASIC_AUTH'."\n" + ."\n" + .'- API KEY: API_KEY_AUTH'."\n" + ."\n" + .'- OAUTH: OAUTH_AUTH', 'type' => 'string', 'example' => 'BASIC_AUTH', 'title' => ''], + 'ApiKeyAuthParameters' => [ + 'description' => 'The data structure of the API KEY.', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => ['description' => 'The key of the API key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'ApiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'value', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BasicAuthParameters' => [ + 'description' => 'The data structure of Basic authentication.', + 'type' => 'object', + 'properties' => [ + 'Password' => ['description' => 'The password for basic authentication.', 'type' => 'string', 'example' => '********', 'title' => ''], + 'Username' => ['description' => 'The username for basic authentication.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'OAuthParameters' => [ + 'description' => 'The data structure of OAuth request parameters.', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => ['description' => 'The request URL for obtaining the OAuth token.', 'type' => 'string', 'example' => 'http://localhost:8080/oauth/token', 'title' => ''], + 'HttpMethod' => ['description' => 'The HTTP method used for the request. Valid values:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD', 'type' => 'string', 'example' => 'POST', 'title' => ''], + 'ClientParameters' => [ + 'description' => 'The data structure of the client parameters.', + 'type' => 'object', + 'properties' => [ + 'ClientID' => ['description' => 'The client ID.', 'type' => 'string', 'example' => 'ClientID', 'title' => ''], + 'ClientSecret' => ['description' => 'The client secret of the application.', 'type' => 'string', 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'OAuthHttpParameters' => [ + 'description' => 'The request parameters for OAuth authentication.', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => 'The list of request parameter data structures.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of request parameter data structures.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Indicates whether the parameter is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the body request parameter.', 'type' => 'string', 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the body request parameter.', 'type' => 'string', 'example' => 'valueDemo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'HeaderParameters' => [ + 'description' => 'The list of request header parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of request header parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Indicates whether the parameter is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the request header parameter.', 'type' => 'string', 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the request header parameter.', 'type' => 'string', 'example' => 'keyDemo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'QueryStringParameters' => [ + 'description' => 'The data structure of the request path parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of the request path parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Indicates whether the parameter is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the request path parameter.', 'type' => 'string', 'example' => 'keyDemo', 'title' => ''], + 'Value' => ['description' => 'The value of the request path parameter.', 'type' => 'string', 'example' => 'valueDemo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'DataFormat' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkRocketMQParameters' => [ - 'title' => '事件源类型', - 'description' => 'The parameters that are configured if you specify ApsaraMQ for RocketMQ as the event target.'."\n", + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Queries the configuration information of a single connection.', + 'description' => 'Queries the configuration information of a single connection.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ], + '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"}]', + 'translator' => 'machine', + ], + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'd5bfc188-4452-4ba7-b73a-a9005e522439', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MQ_INST_164901546557****_BAAN****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Mytopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message content.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'description' => 'The properties that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Keys' => [ - 'description' => 'The keys that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'Tags' => [ - 'description' => 'The tags that you want to use to filter messages.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!', - ], - ], - 'required' => false, - ], - 'InstanceType' => [ - 'description' => 'The type of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The type of the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'InstanceEndpoint' => [ - 'description' => 'The endpoint that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", + 'EventBusARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.'."\n", 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'example' => 'MyEventBus', 'title' => ''], + 'Description' => ['description' => 'The description of the event bus.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'CreateTimestamp' => ['description' => 'The timestamp that indicates when the event bus was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1641781825000', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. The value Success indicates that the request was successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d5bfc188-4452-4ba7-b73a-a9005e522439\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\",\\n \\"EventBusName\\": \\"MyEventBus\\",\\n \\"Description\\": \\"demo\\",\\n \\"CreateTimestamp\\": 1641781825000\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetEventBus', + 'summary' => 'Queries the detailed information about an event bus.', + 'description' => 'You can call this API operation to query the detailed information about an event bus.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:GetEventBus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + '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' => 'The name of the event stream to query.', 'type' => 'string', 'required' => true, 'maxLength' => 255, 'minLength' => 2, 'example' => 'myeventstreaming'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event streaming [xxxx] not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7892F480-58C9-5067-AB35-8A7BEF****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'EventStreamingName' => ['description' => 'The name of the event stream.', 'type' => 'string', 'example' => 'rocketmq-sync', 'title' => ''], + 'Description' => ['description' => 'The description of the event stream.', 'type' => 'string', 'example' => 'RocketMQ-to-RocketMQ', 'title' => ''], + 'Source' => [ + 'description' => 'The event source.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The endpoint that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vbsvkkbpf3vb0zefs7ex', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceMNSParameters' => [ + 'description' => 'The parameters for the Simple Message Queue (formerly MNS) source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'QueueName' => ['description' => 'The name of the Simple Message Queue (formerly MNS) queue.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Indicates whether Base64 decoding is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - ], - 'required' => false, - ], - 'InstanceUsername' => [ - 'description' => 'The username that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The username that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceRabbitMQParameters' => [ + 'description' => 'The parameters for the RabbitMQ source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'i-f8z9a9mcgwri1c1i****', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the vhost on the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'eb-connect', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'comp', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - ], - 'required' => false, - ], - 'InstancePassword' => [ - 'description' => 'The password that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The password that you want to use to access the ApsaraMQ for RocketMQ instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceRocketMQParameters' => [ + 'description' => 'The parameters for the RocketMQ source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'i-f8zbher64dlm58pl****', 'title' => ''], + 'Topic' => ['description' => 'The topic of the message.', 'type' => 'string', 'example' => 'topic_add_anima', 'title' => ''], + 'Tag' => ['description' => 'The filter tag of the message.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'Offset' => ['description' => 'The consumption offset of the message. Valid values:'."\n" + .'- CONSUME_FROM_LAST_OFFSET: Consumption starts from the latest offset.'."\n" + .'- CONSUME_FROM_FIRST_OFFSET: Consumption starts from the earliest offset.'."\n" + .'- CONSUME_FROM_TIMESTAMP: Consumption starts from the offset at a specified point in time.', 'type' => 'string', 'example' => 'CONSUMEFROMLASTOFFSET', 'title' => ''], + 'GroupID' => ['description' => 'The group ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'GID_group1', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp. This parameter is valid only when the Offset parameter is set to CONSUME_FROM_TIMESTAMP.', 'type' => 'integer', 'format' => 'int64', 'example' => '1636597951964', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster', 'type' => 'string', 'example' => 'Cloud_4'."\n", 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com'."\n", 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'example' => 'xxxa', 'title' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'example' => 'xxxa', 'title' => ''], + 'InstanceVpcId' => ['description' => 'The VPC ID of the instance.', 'type' => 'string', 'example' => 'vpc-m5e3sv4b12345****'."\n", 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch IDs of the instance.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12****'."\n", 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group ID of the instance.', 'type' => 'string', 'example' => 'sg-m5edtu24f12345****'."\n", 'title' => ''], + 'InstanceNetwork' => ['description' => 'The network type of the instance. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + ."\n" + .'- Json'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'example' => 'Json', 'title' => ''], + 'FilterType' => ['description' => 'The message filter type.', 'type' => 'string', 'example' => 'Tag'."\n", 'title' => ''], + 'FilterSql' => ['description' => 'The SQL filter statement.', 'type' => 'string', 'example' => 'index > 10', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-m5e3sv4b12345****'."\n", 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12345****'."\n", 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-m5edtu24f12345****'."\n", 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values: '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - ], - 'required' => false, - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the VPC to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vb835n3zf9shwlvbwlmp', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RocketMQ checkpoint source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster', 'type' => 'string', 'example' => 'Cloud_4', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rmp-cn-jte3w******'."\n", 'title' => ''], + 'Topics' => [ + 'description' => 'The message topics.', + 'type' => 'array', + 'items' => ['description' => 'The message topics.', 'type' => 'string', 'example' => 'opic_add_anima', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], 'example' => '', ], - ], - 'required' => false, - ], - 'VSwitchIds' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-8vb835n3zf9shwlvbwlmp'."\n", - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters for the RocketMQ checkpoint source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'."\n", 'title' => ''], + 'InstanceId' => ['description' => 'The RocketMQ instance ID.', 'type' => 'string', 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Topics' => [ + 'description' => 'The list of topics.', + 'type' => 'array', + 'items' => ['description' => 'The list of topics to consume.', 'type' => 'string', 'example' => '["Topic_1","Topic_2"]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', 'title' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-adw1awdw*****', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-dwaafds****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-mw43*****', 'title' => ''], + ], 'example' => '', ], - ], - 'required' => false, - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the security group to which the ApsaraMQ for RocketMQ instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'b4bf375515f6440f942e3a20c33d5b9c', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceKafkaParameters' => [ + 'description' => 'The parameters for the Kafka source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'i-bp1fbtrnqmjvgq66****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'topic_empower_1642473600414', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The group ID of the consumer that subscribes to the topic.', 'type' => 'string', 'example' => 'GID_TEST', 'title' => ''], + 'OffsetReset' => ['description' => 'The offset.', 'type' => 'string', 'example' => 'latest', 'title' => ''], + 'Network' => ['description' => 'The network configuration. Default value: Default. Set this parameter to PublicNetwork for VPC networks.', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID', 'type' => 'string', 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-wz9qqeovkwjxlu9uc****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + 'ValueDataType' => ['description' => 'The encoding and decoding format. Valid values:'."\n" + .' '."\n" + .'1. JSON: Bytes are decoded to a string by using UTF-8 encoding and then parsed as JSON.'."\n" + .'2. Text: Bytes are decoded to a string by using UTF-8 encoding and placed directly into the payload.'."\n" + .'3. Binary: Bytes are encoded to a string by using Base64 encoding and placed into the payload.', 'type' => 'string', 'example' => 'Text', 'title' => ''], + ], + 'title' => '', 'example' => '', ], - ], - 'required' => false, - ], - 'Network' => [ - 'description' => 'The network type.'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The network type.'."\n" - ."\n" - .'* PublicNetwork'."\n" - .'* PrivateNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PublicNetwork', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, + 'SourceMQTTParameters' => [ + 'description' => 'The parameters for the MQTT source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'i-2ze06wqdwk0uq14k****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'TOPIC-cainiao-pcs-wms-instock-noPrealertPrintLabel', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'example' => 'JSON', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', 'example' => '', ], - ], - 'required' => false, - ], - 'DeliveryOrderType' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'ShardingKey' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SourceDTSParameters' => [ + 'description' => 'The parameters for the DTS source.', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'f86e5814-b223-482c-b768-3b873297****', 'title' => ''], + 'BrokerUrl' => ['description' => 'The network address and port number of the data subscription channel.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Topic' => ['description' => 'The subscription topic of the data subscription channel.', 'type' => 'string', 'example' => 'TP_TEST_UNDERWRITE_ISSUE', 'title' => ''], + 'Sid' => ['description' => 'The consumer group ID.', 'type' => 'string', 'example' => 'HD1', 'title' => ''], + 'Username' => ['description' => 'The account of the consumer group.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password of the consumer group account.', 'type' => 'string', 'example' => 'admin****', 'title' => ''], + 'InitCheckPoint' => ['description' => 'The consumption checkpoint, which is the timestamp when the SDK client consumes the first data record. The value is a UNIX timestamp.', 'type' => 'string', 'example' => '1620962769', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SourceSLSParameters' => [ + 'description' => 'The parameters for the Simple Log Service (SLS) source.', + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The Simple Log Service project.', 'type' => 'string', 'example' => 'dmmzk', 'title' => ''], + 'LogStore' => ['description' => 'The Simple Log Service Logstore.', 'type' => 'string', 'example' => 'waf-logstore', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The consumer group.', 'type' => 'string', 'title' => '', 'example' => ''], + 'ConsumePosition' => ['description' => 'The initial consumption offset. You can select the earliest or latest offset, which corresponds to "begin" or "end" respectively. You can also start consumption from a specified point in time, in seconds.', 'type' => 'string', 'example' => 'begin', 'title' => ''], + 'RoleName' => ['description' => 'The role name for authorization. To authorize the event bus EventBridge to use this role to read SLS log content, create a role in the Resource Access Management (RAM) console, select "Alibaba Cloud Service", and set "Trusted Service" to "event bus".', 'type' => 'string', 'example' => 'testRole', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'SinkDorisParameters' => [ - 'title' => '事件源类型', - 'type' => 'object', - 'properties' => [ - 'QueryEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SourcePrometheusParameters' => [ + 'description' => 'The parameters for the Prometheus event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c83555068b6******ad213f565f209'."\n", 'title' => ''], + 'DataType' => ['description' => 'The data type.', 'type' => 'string', 'example' => 'Json', 'title' => ''], + 'Labels' => ['description' => 'The labels.', 'type' => 'string', 'example' => '__name__=.*'."\n", 'title' => ''], + 'RoleName' => ['description' => 'The task role name.', 'type' => 'string', 'example' => 'test-role', 'title' => ''], + 'ExternalLabels' => ['description' => 'The external labels appended to the event stream.', 'type' => 'string', 'example' => '{"env":"test"}', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SourceCustomizedKafkaParameters' => [ + 'description' => 'The parameters for the custom Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for Kafka instance.', 'type' => 'string', 'example' => 'r-8vb64581862c****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => 'The parameters for the custom connector Apache Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The download URL of the OSS resource ZIP package.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'The connector parameters.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'example' => 'test-name'."\n", 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - 'FeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SourceApacheKafkaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Topic' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'ConsumerGroup' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'OffsetReset' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'ValueDataType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SecurityProtocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SaslMechanism' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SaslUser' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SaslPassword' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] The Kafka server trust certificate. Used to authenticate the SSL certificate of the Kafka broker and prevent man-in-the-middle attacks. Format: Base64 encoding of PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure the content starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued the certificate.', 'type' => 'string', 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] The Kafka client certificate chain. Required when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format, containing the client certificate and the complete certificate chain (client certificate first, intermediate CA certificate next, root CA certificate optional). Note: Ensure each PEM file content starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\', then Base64-encode the concatenated content.', 'type' => 'string', 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private key] The Kafka client private key password. Required when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave empty if the private key is not encrypted. Note: This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] The SSL private key configuration object. Required when the Kafka server enables bidirectional SSL authentication. The key supports only KMS pattern: specify the Key Management Service (KMS) EPS resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. Used to locate the KMS instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN of the corresponding key in the KMS console.', 'type' => 'string', 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. When the KMS secret is stored in a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', specify \'ssl_keystore_key\'. Leave this parameter empty if the KMS secret is in plain text mode (directly stores the PEM content of the private key).', 'type' => 'string', 'example' => ''], + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SourceOSSParameters' => [ + 'description' => 'The parameters for the OSS event source.', + 'type' => 'object', + 'properties' => [ + 'RoleName' => ['description' => 'The name of the role that provides authorization for the event bus EventBridge to read OSS files. The role must have at least read-only permissions on OSS.', 'type' => 'string', 'example' => 'eventbridge_oss_role'."\n", 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'bucket_abc'."\n", 'title' => ''], + 'Prefix' => ['description' => 'The file path prefix.', 'type' => 'string', 'example' => 'fun/document/'."\n", 'title' => ''], + 'LoadMode' => ['description' => 'The data loading mode. A value of single indicates single-document loading, and a value of element indicates chunked loading. Valid values: single/element. Default value: single.', 'type' => 'string', 'example' => 'single'."\n", 'title' => ''], + 'LoadFormat' => ['description' => 'The document loader.', 'type' => 'string', 'example' => 'TextLoader'."\n", 'title' => ''], + 'Delimiter' => ['description' => 'The delimiter. In chunked loading mode, this delimiter is used as the text chunking identifier. The default delimiter is the newline character '."\n" + .'.', 'type' => 'string', 'example' => '\\n'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'The parameters for the open source RabbitMQ source.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the open source RabbitMQ instance.', 'type' => 'string', 'example' => '192.168.1.100:5672', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the vhost on the open source RabbitMQ instance.', 'type' => 'string', 'example' => 'eb-connect', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue on the open source RabbitMQ instance.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'example' => 'Json', 'title' => ''], + 'Username' => ['description' => 'The username.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password.', 'type' => 'string', 'example' => '******', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp1vllc1lnw1v657******', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-uf65zhil5oukof5******', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-2ze65razphjfz3******', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'example' => 'PrivateNetwork'."\n", 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceEventBusParameters' => [ + 'description' => 'The parameters for the event bus source.', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'EventRuleName' => ['description' => 'The name of the event rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'SourceMySQLParameters' => ['description' => 'The parameters for the MySQL source.', '$ref' => '#/components/schemas/SourceMySQLParameters', 'title' => '', 'example' => ''], + 'SourcePostgreSQLParameters' => ['$ref' => '#/components/schemas/SourcePostgreSQLParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters', 'description' => '', 'title' => '', 'example' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'BeHttpEndpoint' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'Metadata' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'FilterPattern' => ['description' => 'The event filtering rule. If not specified, all events are matched.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Transforms' => [ + 'description' => 'The event transformer configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud resource, such as the ARN of a function in Function Compute.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the cloud resource, such as the ARN of a function in Function Compute.', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", 'title' => ''], + 'DashScopeTransformParameters' => ['$ref' => '#/components/schemas/DashScopeTransformParameters', 'description' => '', 'title' => '', 'example' => ''], + 'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'UserName' => [ + 'Sink' => [ + 'description' => 'The event target.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SinkMNSParameters' => [ + 'description' => 'The parameters for the Simple Message Queue (formerly MNS) event target.', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => 'The target service type is Simple Message Queue (formerly MNS).', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the Simple Message Queue (formerly MNS) queue.', 'type' => 'string', 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'IsBase64Encode' => [ + 'description' => 'Indicates whether Base64 decoding is enabled.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Specifies whether to enable Base64 encoding.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Form' => ['description' => 'The event transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SinkRabbitMQParameters' => [ + 'description' => 'The parameters for the RabbitMQ sink.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The target service type is ApsaraMQ for RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'e5c9b727-e06c-4d7e-84d5-f8ce644e****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VirtualHostName' => [ + 'description' => 'The name of the vhost on the ApsaraMQ for RabbitMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the vhost on the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'rabbit-host'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TargetType' => [ + 'description' => 'The target type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The target type. Valid values:'."\n" + ."\n" + .'- Exchange: Exchange mode.'."\n" + .'- Queue: Queue mode.', 'type' => 'string', 'example' => 'Exchange/Queue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Exchange' => [ + 'description' => 'The Exchange mode. This parameter is required only when TargetType is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the exchange in the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'a_exchange', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoutingKey' => [ + 'description' => 'The routing rule of the message. This parameter is required only when TargetType is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The routing rule of the message.', 'type' => 'string', 'example' => 'housekeeping', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'QueueName' => [ + 'description' => 'The Queue mode. This parameter is required only when TargetType is set to Queue.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the queue on the instance.', 'type' => 'string', 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The message ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SinkFcParameters' => [ + 'title' => '', + 'description' => 'The function target.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The service name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The service name.', 'type' => 'string', 'example' => 'myService', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FunctionName' => [ + 'description' => 'The function name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The function name.', 'type' => 'string', 'example' => 'mFunction', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Concurrency' => [ + 'description' => 'The delivery concurrency. Minimum value: 1.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery concurrency. Minimum value: 1.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Qualifier' => [ + 'description' => 'The service version.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The service version.', 'type' => 'string', 'example' => 'LATEST', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InvocationType' => [ + 'description' => 'The invocation type. Valid values:'."\n" + ."\n" + .'- Sync: Synchronous.'."\n" + .'- Async: Asynchronous.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The invocation type. Valid values:'."\n" + ."\n" + .'- Sync: Synchronous.'."\n" + .'- Async: Asynchronous.', 'type' => 'string', 'example' => 'Async', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content body sent to the function.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event '."\n" + .'- JSONPATH: partial event '."\n" + .'- CONSTANT: constant '."\n" + .'- TEMPLATE: template '."\n" + ."\n" + .'For more information, see [Event transformation](https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation).', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DataFormat' => [ + 'description' => 'The format conversion rule for event content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event'."\n" + .'- JSONPATH: partial event'."\n" + .'- CONSTANT: constant'."\n" + .'- TEMPLATE: template', 'type' => 'string', 'example' => 'JSONPATH', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => '$.data.key', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], - ], - 'required' => false, - ], - 'Password' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SinkKafkaParameters' => [ + 'description' => 'The parameters for the Kafka sink.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is ApsaraMQ for Kafka.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'Defaut_1283278472_s****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the target topic strategy for message routing. If both the topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: Specify a fixed topic name string (such as "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: Specify a standard JSONPath expression (such as "$.user.id" or "$.metadata.category"). The system parses the upstream message body and extracts the value of the matching field as the target topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transformation type. Valid values:'."\n" + .'- CONSTANT: fixed value.'."\n" + .'- JSONPATH: extracted from upstream based on the path.', 'type' => 'string', 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'example' => ''], + ], + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Acks' => [ + 'description' => 'The acknowledgment mode for writing to Kafka. Valid values:'."\n" + ."\n" + .'- acks=0: No response is required from the server. This mode delivers high performance but has a high risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance and has a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides higher data security. Data loss occurs only if both the primary and secondary nodes go down.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The acknowledgment mode for writing to Kafka. Valid values:'."\n" + ."\n" + .'- acks=0: No response is required from the server. This mode delivers high performance but has a high risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance and has a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides higher data security. Data loss occurs only if both the primary and secondary nodes go down.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Key' => [ + 'description' => 'The message key.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The message key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'description' => 'The additional metadata of the Kafka message.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}'."\n" + ."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event'."\n" + .'- JSONPATH: partial event'."\n" + .'- CONSTANT: constant'."\n" + .'- TEMPLATE: template', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'description' => 'The message body.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '', + 'description' => 'The description information.', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Topic' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the target topic strategy for message routing. If both the topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: Specify a fixed topic name string (such as "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: Specify a standard JSONPath expression (such as "$.user.id" or "$.metadata.category"). The system parses the upstream message body and extracts the value of the matching field as the target topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transformation type. Valid values:'."\n" + .'- CONSTANT: fixed value.'."\n" + .'- JSONPATH: extracted from upstream based on the path.', 'type' => 'string', 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'example' => ''], + ], + 'example' => '', + ], + 'Acks' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'CompressionType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityProtocol' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SaslMechanism' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SaslUser' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SaslPassword' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] The Kafka server trust certificate. Used to authenticate the validity of the Kafka Broker SSL certificate and prevent man-in-the-middle attacks. Format: Base64 encoding in PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure it starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued the certificate.', 'type' => 'string', 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] The Kafka client certificate chain. Required when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format, containing the client certificate and the complete certificate chain (client certificate first, intermediate CA certificate next, root CA certificate optional). Note: Ensure each PEM file content starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\', then Base64-encode the concatenated content.', 'type' => 'string', 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private key] The Kafka client private key password. Required when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave empty if the private key is not encrypted. Note: This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] The SSL private key configuration object. When the Kafka server enables bidirectional SSL authentication, you must provide the client private key. Only KMS pattern is supported: specify the Key Management Service EPS resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. Used to locate the KMS instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN of the corresponding key in the KMS console.', 'type' => 'string', 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. When the KMS secret is stored in a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', specify \'ssl_keystore_key\'. Leave this parameter empty if the KMS secret is in plain text mode (directly stores the PEM content of the private key).', 'type' => 'string', 'example' => ''], + ], + 'example' => '', + ], + ], + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SinkRocketMQParameters' => [ + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is ApsaraMQ for RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Keys' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Tags' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceType' => [ + 'description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster', 'type' => 'string', 'example' => 'Cloud_4'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => [ + 'description' => 'The instance endpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceUsername' => [ + 'description' => 'The instance username.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance username.', 'type' => 'string', 'example' => 'admin'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstancePassword' => [ + 'description' => 'The instance password.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance password.', 'type' => 'string', 'example' => 'admin****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", 'title' => ''], + 'Form' => ['description' => 'The event transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'example' => "\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'example' => "\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Network' => [ + 'description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'example' => 'PublicNetwork'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'example' => "\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DeliveryOrderType' => [ + 'description' => 'The delivery order type of messages. This parameter is optional. The default value is concurrent delivery.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery order type. Valid values:'."\n" + ."\n" + .'- **Orderly:** ordered delivery.'."\n" + ."\n" + .'- **Concurrently:** concurrent delivery.', 'type' => 'string', 'example' => 'Concurrently', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ShardingKey' => [ + 'description' => 'The sharding key of the message.'."\n" + .'> '."\n" + .'> - ShardingKey is required when DeliveryOrderType is set to Orderly.'."\n" + .'> - When Source is RocketMQ, ShardingKey can be left empty. In this case, the upstream BrokerName and QueueId are concatenated to generate the message ShardingKey.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The sharding key value.', 'type' => 'string', 'example' => 'order_id', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SinkDorisParameters' => [ + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - 'Database' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'Sink RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: Alibaba Cloud RocketMQ 4.0 instance.'."\n" + .'- Cloud_5: Alibaba Cloud RocketMQ 5.0 instance.', 'type' => 'string', 'example' => 'Cloud_4', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Topic' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The Group ID of the consumer group.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Group ID', 'type' => 'string', 'example' => 'GID_EVENTBRIDGE_1736234******', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The timestamp of message consumption.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1570761026400', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'Sink Apache RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'The topic of the RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the RabbitMQ instance.', 'type' => 'string', 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The Group ID of the consumer group.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Group ID', 'type' => 'string', 'example' => 'GID_EVENTBRIDGE_1736234******'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The timestamp of message consumption.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1570761026400', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username required for authentication.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The password for the username.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-2zeccak5pb0j3ay******', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-uf62oqt1twuevrt******', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-2ze5bmpw6adn0q******', 'title' => ''], + ], + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The Simple Log Service project.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Simple Log Service project.', 'type' => 'string', 'example' => 'test-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LogStore' => [ + 'description' => 'The Simple Log Service Logstore.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Simple Log Service Logstore.', 'type' => 'string', 'example' => 'test-logstore', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "topic".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "topic".', 'type' => 'string', 'example' => 'testTopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content sent to Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'To authorize the event bus EventBridge to use this role to read Simple Log Service log content, the following conditions must be met: when creating the role used by the service in the Resource Access Management (RAM) console, select "Alibaba Cloud Service", and set "Trusted Service" to "EventBridge".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'To authorize the event bus EventBridge to use this role to read Simple Log Service log content, the following conditions must be met: when creating the role used by the service in the Resource Access Management (RAM) console, select "Alibaba Cloud Service", and set "Trusted Service" to "EventBridge".', 'type' => 'string', 'example' => 'testRole', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ContentType' => [ + 'description' => 'The Simple Log Service data format. You can select the default format or configure a specified key-value pair. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ContentSchema' => [ + 'description' => 'The key-value pairs of custom logs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', 'title' => ''], + 'Form' => ['description' => 'The template.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - 'Table' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SinkFnfParameters' => [ + 'description' => 'The Sink CloudFlow parameters.', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => 'The flow name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The flow name.', 'type' => 'string', 'example' => 'test-streaming-fnf', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ExecutionName' => [ + 'description' => 'The execution name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution name.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT. Valid values:'."\n" + ."\n" + .'- JSONPATH: partial event.'."\n" + .'- CONSTANT: constant.'."\n" + .'- TEMPLATE: template.'."\n" + ."\n" + .'For more information, see [Event transformation](https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-transformation).', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Input' => [ + 'description' => 'The execution input information.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution input information.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The role configuration.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The role configuration.', 'type' => 'string', 'example' => 'Al****FNF-x****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SinkDataHubParameters' => [ + 'description' => 'The Sink DataHub parameters.', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The DataHub project name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub project name.', 'type' => 'string', 'example' => 'demo-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'example' => "\n" + ."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The DataHub topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub topic name.', 'type' => 'string', 'example' => 'demo-topic'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TopicType' => [ + 'description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', 'type' => 'string', 'example' => 'TUPLE'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TopicSchema' => [ + 'description' => 'The topic content schema for the TUPLE type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic content schema for the TUPLE type.', 'type' => 'string', 'example' => '{"k1":"value1","k2":"value2"}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => '{"k1":"${k1}","k2":"${k2}"}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The record content template for the BLOB type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The record content template for the BLOB type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'ORIGINAL', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The task role name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The task role name.', 'type' => 'string', 'example' => 'test-role', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'The Sink Kafka parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for Kafka instance.', 'type' => 'string', 'example' => '90be1f96-4229-4535-bb76-34b4f6fb****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - 'Body' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'The Sink Kafka connector parameters.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The OSS file download URL.', '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******"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'Parses the properties file in the current ZIP package.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'example' => 'mongo-sink', 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'SinkDashVectorParameters' => [ + 'description' => 'The Sink DashVector parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'vrs-cn-lbj3ru1***', 'title' => ''], + 'Collection' => ['description' => 'The collection name.', 'type' => 'string', 'example' => 'collection1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key created in the DashVector console.', 'type' => 'string', 'example' => 'Q34nExQH7sQ****', 'title' => ''], + 'Operation' => ['description' => 'The DashVector database operation type.', 'type' => 'string', 'example' => 'Upsert', 'title' => ''], + 'Network' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'PrimaryKeyId' => [ + 'description' => 'The primary key ID for inserting or deleting records. If this field is not specified, a random primary key ID is used.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'JSONPATH', 'title' => ''], + 'Value' => ['description' => '- If Form is set to JSONPATH: the content extracted by JSONPath.'."\n" + .'- If Form is set to TEMPLATE: the template variable.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.requestId', 'title' => ''], + 'Template' => ['description' => 'The primary key ID template. This parameter is required only when Form is set to TEMPLATE.', 'type' => 'string', 'example' => '${ID}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Partition' => [ + 'description' => 'The partition. Default value: default.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => '- If Form is set to CONSTANT: the constant value.'."\n" + .'- If Form is set to JSONPATH: the content extracted by JSONPath.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Vector' => [ + 'description' => 'The vector of the record to be inserted into DashVector.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'JSONPATH', 'title' => ''], + 'Value' => ['description' => 'The content extracted by JSONPath.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.messageBody', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DashVectorSchemaParameters' => [ + 'description' => 'The schema field definitions for table entries when inserting into DashVector. The result of event content transformation must be in JSON format.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Type' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'Sink Open Source RabbitMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'VirtualHostName' => ['description' => 'The virtual host name of RabbitMQ.', 'type' => 'string', 'example' => 'vhost1', 'title' => ''], + 'TargetType' => ['description' => 'The target type for message delivery. This parameter takes effect only when TargetType is set to Exchange.', 'type' => 'string', 'example' => 'Exchange', 'title' => ''], + 'Exchange' => ['description' => 'The exchange name in RabbitMQ.', 'type' => 'string', 'example' => 'my-exchange', 'title' => ''], + 'QueueName' => ['description' => 'The queue name in RabbitMQ. This parameter takes effect only when TargetType is set to Queue.', 'type' => 'string', 'example' => 'my-queue', 'title' => ''], + 'Username' => ['description' => 'The username for accessing the RabbitMQ instance.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password for accessing the RabbitMQ instance.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-uf6of9452b2pba82c ****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-uf6of9452b2pba82c ****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-uf6of9452b2pba82c ****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PublicNetwork'."\n", 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + 'RoutingKey' => [ + 'description' => 'The message routing key.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The routing key value.', 'type' => 'string', 'example' => '{"Form": "CONSTANT", "Value": "my-routing-key"}'."\n", 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message body content.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The raw data value.', 'type' => 'string', 'example' => '{"key": "value"}', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The unique identifier of the message.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The message ID value.', 'type' => 'string', 'example' => '12345', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The additional properties of the message.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The property content.', 'type' => 'string', 'example' => '{"env": "prod"}', 'title' => ''], + 'Template' => ['description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, + 'SinkBaiLianParameters' => ['description' => 'Sink BaiLian Parameters', '$ref' => '#/components/schemas/SinkBaiLianParameters', 'title' => '', 'example' => ''], + 'SinkDataWorksTriggerParameters' => ['$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkHttpsParameters' => ['title' => '', 'description' => 'The HTTPS target parameters.', '$ref' => '#/components/schemas/SinkHttpsParameters', 'example' => ''], + 'SinkApiDestinationParameters' => ['title' => '', 'description' => 'The ApiDestination target parameters.', '$ref' => '#/components/schemas/SinkApiDestinationParameters', 'example' => ''], + 'SinkOSSParameters' => ['$ref' => '#/components/schemas/SinkOSSParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', ], - 'NetworkType' => [ + 'RunOptions' => [ + 'description' => 'The runtime environment parameters.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'MaximumTasks' => ['description' => 'The concurrency.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RetryStrategy' => [ + 'description' => 'The retry strategy when event delivery fails.', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => ['description' => 'The retry strategy. Valid values: BACKOFF_RETRY (backoff retry) and EXPONENTIALDECAY_RETRY (exponential decay retry).', 'type' => 'string', 'example' => 'BACKOFF_RETRY', 'title' => ''], + 'MaximumEventAgeInSeconds' => ['description' => 'The maximum retry time.', 'type' => 'number', 'format' => 'float', 'example' => '512', 'title' => ''], + 'MaximumRetryAttempts' => ['description' => 'The maximum number of retries.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values: NONE (no fault tolerance) and ALL (tolerate all faults).', 'type' => 'string', 'example' => 'ALL', 'title' => ''], + 'DeadLetterQueue' => [ + 'description' => 'Specifies whether to enable the dead-letter queue. By default, the dead-letter queue is disabled, and messages that exceed the retry policy are discarded.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The ARN of the dead-letter queue.', 'type' => 'string', 'example' => 'acs:ram::155020394332****:role/edskmstoecs', 'title' => ''], + 'Network' => ['description' => 'The network type of the dead-letter queue.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID of the dead-letter queue.', 'type' => 'string', 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID of the dead-letter queue.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID of the instance where the dead-letter queue resides.', 'type' => 'string', 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Form' => [ - 'type' => 'string', - 'required' => false, + 'BatchWindow' => [ + 'description' => 'The batching window.', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => ['description' => 'The maximum number of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'TimeBasedWindow' => ['description' => 'The maximum time range (in seconds) of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + 'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'VSwitchIds' => [ + 'Status' => ['description' => 'The status of the retrieved event stream.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'DetailedStatus' => [ + 'description' => 'The detailed status.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, + 'TPS' => ['description' => 'The transactions per second.', 'type' => 'number', 'format' => 'double', 'example' => '5', 'title' => ''], + 'DelayTime' => ['description' => 'The delay time.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'DiffOffset' => ['description' => 'The difference offset.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Extensions' => ['description' => 'The extension properties.', 'type' => 'object', 'example' => '{'."\n" + .' "test": "test",'."\n" + .' "test2": 1'."\n" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'SecurityGroupId' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. Success indicates a successful operation. Other values indicate error codes. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Retrieve event stream details', + 'summary' => 'Retrieves the details of an event stream.', + 'description' => 'Retrieves the details of an event stream.', + 'changeSet' => [ + ['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-31T06:16:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-21T08:40:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-28T06:31:22.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-21T03:32:07.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:14.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:14.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'translator' => 'machine', + '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 \\"SourceMySQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"SnapshotMode\\": \\"\\",\\n \\"IncludeSchemaChanges\\": \\"\\"\\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 \\"SinkBaiLianParameters\\": {\\n \\"WorkspaceId\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"Extend\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkDataWorksTriggerParameters\\": {\\n \\"Enable\\": \\"\\"\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"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\\": false,\\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' => 'Namespace name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotency token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'API response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Code' => ['title' => '', 'description' => 'API response code. A value of 200 indicates success.', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], + 'Data' => ['description' => 'Namespace details', '$ref' => '#/components/schemas/Namespace', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query namespace', + 'summary' => 'Get namespace', + '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"}]', + 'translator' => 'machine', + ], + 'GetRule' => [ + 'summary' => 'Retrieves the details of an event rule.', + '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' => 'The name of the event bus.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ram-changes', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event rule not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID generated by Alibaba Cloud.', 'type' => 'string', 'example' => '2BC1857D-E633-5E79-B2C2-43EF5F7730D8', 'title' => ''], + 'Data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the rule. Valid values:'."\n" + ."\n" + .'- **ENABLE**: The rule is enabled. This is the default.'."\n" + ."\n" + .'- **DISABLE**: The rule is disabled.', 'type' => 'string', 'example' => 'ENABLE', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'Housekeeping-Bus', 'title' => ''], + 'RuleARN' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Targets' => [ + 'description' => 'The list of event targets.', + 'type' => 'array', + 'items' => [ + 'description' => 'An event target.', + 'type' => 'object', + 'properties' => [ + 'DetailMap' => ['description' => 'The details of the event target.', 'type' => 'object', 'title' => '', 'example' => ''], + 'Type' => ['description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'example' => 'acs.mns.queue', 'title' => ''], + 'Endpoint' => ['description' => 'The delivery endpoint for the event.', 'type' => 'string', 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', 'title' => ''], + 'ParamList' => [ + 'description' => 'The list of parameters for the event target.', + 'type' => 'array', + 'items' => [ + 'description' => 'A parameter for the event target.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value of the event target parameter.', 'type' => 'string', 'example' => '{\\"key\\"=\\"value\\"}', 'title' => ''], + 'Template' => ['description' => 'The template of the event target parameter.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + 'Form' => ['description' => 'The format of the event target parameter. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'ResourceKey' => ['description' => 'The resource key of the event target. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'body', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PushSelector' => ['description' => 'The push selector.', 'type' => 'string', 'example' => 'PARAM_TRANSFORMER', 'title' => ''], + 'Id' => ['description' => 'The custom ID of the event target.', 'type' => 'string', 'example' => 'Mlm123456JHd2RsRoKw'."\n", 'title' => ''], + 'DeadLetterQueue' => [ + 'description' => 'The dead-letter queue.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.', 'type' => 'string', 'title' => '', 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source'], + 'Network' => ['description' => 'The network type of the dead-letter queue.', 'type' => 'string', 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch IDs.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'PushRetryStrategy' => ['description' => 'The retry policy for pushing events. Valid values:'."\n" + ."\n" + .'- **BACKOFF\\_RETRY**: A backoff retry policy. The event is retried 3 times at a random interval between 10 and 20 seconds.'."\n" + ."\n" + .'- **EXPONENTIAL\\_DECAY\\_RETRY**: An exponential decay retry policy. The event is retried 176 times over one day. The retry interval starts at 1 second and exponentially increases to a maximum of 512 seconds. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and then 512 for the remaining 167 retries.', 'type' => 'string', 'example' => 'BACKOFF_RETRY', 'title' => ''], + 'ConcurrentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'Concurrency' => ['description' => 'The maximum number of concurrent pushes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + ], + 'description' => 'The concurrency settings.', + 'title' => '', + 'example' => '', + ], + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values:'."\n" + ."\n" + .'- **ALL**: Enables fault tolerance. Errors do not block event delivery. If all retries fail, the system sends the event to the specified dead-letter queue or discards it.'."\n" + ."\n" + .'- **NONE**: Disables fault tolerance. If an error persists after all retries, the system blocks event delivery.', 'type' => 'string', 'example' => 'ALL', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], + 'FilterPattern' => ['description' => 'The event pattern in JSON format. The following modes are supported:'."\n" + ."\n" + .'- **stringEqual mode**: In the map structure, each field can contain up to five expressions.'."\n" + ."\n" + .'- **stringExpression mode**: In the map structure, each field can contain up to five expressions.', 'type' => 'string', 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', 'title' => ''], + 'CreatedTimestamp' => ['description' => 'The creation timestamp of the rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '1607071602000', 'title' => ''], + 'RuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'ramrolechange-fc', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'- **Success**: The request was successful.'."\n" + ."\n" + .'- **Other values**: The request returned an error code. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. A value of `true` indicates success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + '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"}]', + 'title' => 'GetRule', + 'description' => 'Gets the details of an event rule.', + 'changeSet' => [ + ['createdAt' => '2025-05-27T06:50:32.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-04T02:52:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-08-17T06:22:47.000Z', 'description' => 'Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'GetTable' => [ + 'summary' => 'Get Table', + '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' => 'Table name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotent token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace', 'type' => 'string', 'example' => 'my_namespace', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'API response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Code' => ['title' => '', 'description' => 'Return code', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful', 'type' => 'boolean', 'example' => 'true'], + 'Data' => ['description' => 'Table details', '$ref' => '#/components/schemas/Table', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query Table', + '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"}]', + 'translator' => 'machine', + ], + 'ListAgents' => [ + 'summary' => 'Retrieves a list of custom agents.', + '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' => 'The name of the agent from which the next page of results starts.', 'type' => 'string', 'required' => false, 'example' => 'my-agent', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return per request. You can use this parameter together with NextToken to implement paging.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'Order', + 'in' => 'formData', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- desc'."\n" + .'- asc.', 'type' => 'string', 'required' => false, 'example' => 'acs', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Failed to list agents ', 'title' => ''], + 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates a unique identifier for the request.', 'type' => 'string', 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'InstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Topic' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, + 'Agents' => [ + 'description' => 'The list of agents.', + 'type' => 'array', + 'items' => ['description' => 'The list of agents.', '$ref' => '#/components/schemas/Agent', 'example' => '[{\'AgentKey\': \'25ed67f549774824b3f9162f2267a6af\', \'AgentDefault\': True, \'AgentId\': 1156102, \'AgentLlm\': False, \'AgentName\': u\'\\u4e1a\\u52a1\\u7a7a\\u95f4_1156102\'}]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ConsumeTimestamp' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'FirstId' => ['description' => 'The ID of the first record.', 'type' => 'string', 'example' => 'uat-agent', 'title' => ''], + 'LastId' => ['description' => 'The ID of the last record.', 'type' => 'string', 'example' => 'last-agent', 'title' => ''], + 'HasMore' => ['description' => 'Indicates whether more pages are available. Valid values:'."\n" + ."\n" + .'- true: More pages are available.'."\n" + ."\n" + .'- false: No more pages are available.', 'type' => 'string', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The API status code or POP error code. Valid values: Success: The operation was successful.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Retrieve custom agent list', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eventbridge:ListAgents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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"}]', + 'translator' => 'machine', + ], + 'ListAliyunOfficialEventSources' => [ + 'summary' => 'Queries all Alibaba Cloud service event sources.', + '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' => 'The returned error message.', 'type' => 'string', 'example' => 'InvalidArgument', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', 'title' => ''], + 'Data' => [ + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'EventSourceList' => [ + 'description' => 'The event sources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of the event source.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the event source.', 'type' => 'string', 'example' => 'acs.arms', 'title' => ''], + 'FullName' => ['description' => 'The full name of the event source.', 'type' => 'string', 'example' => 'Application Real-Time Monitoring Service'."\n", 'title' => ''], + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms', 'title' => ''], + 'Status' => ['description' => 'The status of the event source. Valid value: Activated.', 'type' => 'string', 'example' => 'Activated', 'title' => ''], + 'Type' => ['description' => 'The type of the event source.', 'type' => 'string', 'example' => 'AliyunOfficial', 'title' => ''], + 'Ctime' => ['description' => 'The time when the event source was created. Unit: milliseconds.', 'type' => 'number', 'format' => 'float', 'example' => '1602730025890', 'title' => ''], + 'Description' => ['description' => 'The description of the event source.', 'type' => 'string', 'example' => 'Elastic Compute Service', 'title' => ''], + 'EventTypes' => [ + 'description' => 'The event types.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of the event type.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The full name of the event type.', 'type' => 'string', 'example' => 'arms:ActionTrail:AliyunServiceEvent', 'title' => ''], + 'ShortName' => ['description' => 'The short name of the event type.', 'type' => 'string', 'example' => 'AliyunServiceEven', 'title' => ''], + 'GroupName' => ['description' => 'The name of the group to which the event type belongs.', 'type' => 'string', 'example' => 'ActionTrail', 'title' => ''], + 'EventSourceName' => ['description' => 'The name of the event source.', 'type' => 'string', 'example' => 'acs.arms', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EventBusName' => ['description' => 'The name of the event source to which the event type belongs.', 'type' => 'string', 'example' => 'default', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'Group' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For a list of error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. If the operation is successful, the value true is returned.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + '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"}]', + 'title' => 'ListAliyunOfficialEventSources', + 'description' => 'You can call this API operation to query all Alibaba Cloud service event sources.', + 'changeSet' => [ + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2021-07-30T04:44:37.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'translator' => 'manual', + ], + 'ListApiDestinations' => [ + 'summary' => 'Queries a list of API destinations.', + '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' => 'The prefix of the API destination name.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'api-demo', 'title' => ''], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => ['description' => 'The connection name.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'connection-name', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to be returned in a call. You can use this parameter and NextToken to implement paging.'."\n" + ."\n" + .'* Default value: 10.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'If you set Limit and excess return values exist, this parameter is returned.'."\n" + ."\n" + .'* Default value: 0.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E170****', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiDestinations' => [ + 'description' => 'The API destinations.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => ['description' => 'The name of the API destination.', 'type' => 'string', 'example' => 'api-destination-2', 'title' => ''], + 'ConnectionName' => ['description' => 'The connection name.', 'type' => 'string', 'example' => 'connection-name', 'title' => ''], + 'Description' => ['description' => 'The description of the connection.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'HttpApiParameters' => [ + 'description' => 'The request parameters that are configured for the API destination.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the API destination.', 'type' => 'string', 'example' => 'http://127.0.0.1:8001/api', 'title' => ''], + 'Method' => ['description' => 'The HTTP request method. Valid values:'."\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', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'GmtCreate' => ['description' => 'The time when the API destination was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1665223213000', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'If excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'Total' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkApacheRocketMQCheckpointParameters' => [ - 'title' => '事件源类型', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + ['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E170****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinations\\": [\\n {\\n \\"ApiDestinationName\\": \\"api-destination-2\\",\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1665223213000\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 2,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', + 'title' => 'ListApiDestinations', + 'description' => 'You can use this API operation to query a list of API destinations.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-10T09:25:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eventbridge:ListApiDestinations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'ListCatalogs' => [ + 'summary' => 'Query data catalog list', + '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' => '', 'description' => 'Pagination token', 'type' => 'string', 'example' => '0', 'required' => false], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Items per page', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'Response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Response data', 'type' => 'object', 'properties' => [ - 'Topic' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'ConsumeTimestamp' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, + 'Catalogs' => [ + 'title' => '', + 'description' => 'Catalog list', + 'type' => 'array', + 'items' => ['description' => 'Catalog list details', '$ref' => '#/components/schemas/Catalog', 'title' => '', 'example' => ''], + 'example' => '', ], - 'Group' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, + 'NextToken' => ['title' => '', 'description' => 'Next page token', 'type' => 'string', 'example' => '10'], + 'Total' => ['title' => '', 'description' => 'Total count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'example' => '', + ], + 'Code' => ['title' => '', 'description' => 'Response code, 200 indicates success', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query catalog list', + '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"}]', + 'translator' => 'machine', + ], + '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' => 'The name prefix of the connection configurations to query. Supports prefix matching.', 'type' => 'string', 'required' => false, 'example' => 'connection-name', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => ['description' => 'Filters query results by connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch. If left empty, connections of all types are returned.', 'type' => 'string', 'required' => false, 'example' => 'Http', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return on each page. Can be used together with NextToken to implement pagination.'."\n" + ."\n" + .'- Default value: 10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'When MaxResults is specified, NextToken is returned if there are more results to fetch.'."\n" + ."\n" + .'- NextToken starts from 0 by default. Default value: 0.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Common parameter. The ID of each request is unique and can be used for troubleshooting and issue locating.', 'type' => 'string', 'example' => 'E3619976-8714-5D88-BBA2-6983D798A8BB', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The API status or POP error code. Valid values: Success: The request was successful.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The list of returned connection configurations.', + 'type' => 'object', + 'properties' => [ + 'Connections' => [ + 'description' => 'The list of returned connection configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of a returned connection configuration.', + 'type' => 'object', + 'properties' => [ + 'ConnectionName' => ['description' => 'The name of the connection configuration.', 'type' => 'string', 'example' => 'connection-name', 'title' => ''], + 'Description' => ['description' => 'The description of the connection configuration.', 'type' => 'string', 'example' => 'Description of the connection configuration', 'title' => ''], + 'Type' => ['description' => 'The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch.', 'type' => 'string', 'example' => 'Http', 'title' => ''], + 'Parameters' => ['description' => 'The data source connection parameters (JSON object). This field is only returned for data source type connections and is empty for Http type. For field definitions, refer to the ParamsSchema returned by GetConnectionType.', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}', 'title' => ''], + 'Id' => ['description' => 'The ID of the connection configuration.', 'type' => 'integer', 'format' => 'int64', 'example' => '1141093', 'title' => ''], + 'GmtCreate' => ['description' => 'The timestamp when the data source was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592838994234', 'title' => ''], + 'NetworkParameters' => [ + 'description' => 'The data structure of the network configuration.', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => ['description' => '- Public network: PublicNetwork'."\n" + ."\n" + .'- Virtual private cloud: PrivateNetwork', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).', 'type' => 'string', 'example' => 'eb-test/vpc-bp1symadadwnwgmqud', 'title' => ''], + 'VswitcheId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AuthParameters' => [ + 'description' => 'The data structure of authentication parameters.', + 'type' => 'object', + 'properties' => [ + 'AuthorizationType' => ['description' => 'The authentication type. Valid values:'."\n" + ."\n" + .'- BASIC: BASIC_AUTH'."\n" + ."\n" + .'- API KEY: API_KEY_AUTH'."\n" + ."\n" + .'- OAUTH: OAUTH_AUTH', 'type' => 'string', 'example' => 'BASIC_AUTH', 'title' => ''], + 'ApiKeyAuthParameters' => [ + 'description' => 'The data structure of API key authentication parameters.', + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => ['description' => 'The key of the API key.', 'type' => 'string', 'example' => 'Token', 'title' => ''], + 'ApiKeyValue' => ['description' => 'The value of the API key.', 'type' => 'string', 'example' => 'asdkjnqkwejooa', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BasicAuthParameters' => [ + 'description' => 'The data structure of basic authentication parameters.', + 'type' => 'object', + 'properties' => [ + 'Password' => ['description' => 'The password used for basic authentication.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Username' => ['description' => 'The username used for basic authentication.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'OAuthParameters' => [ + 'description' => 'The data structure of OAuth request parameters.', + 'type' => 'object', + 'properties' => [ + 'AuthorizationEndpoint' => ['description' => 'The endpoint URL for obtaining the OAuth token.', 'type' => 'string', 'example' => 'http://localhost:8080/oauth/token', 'title' => ''], + 'HttpMethod' => ['description' => 'The HTTP method used for the request. Valid values:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD', 'type' => 'string', 'example' => 'POST', 'title' => ''], + 'ClientParameters' => [ + 'description' => 'The data structure of client parameters.', + 'type' => 'object', + 'properties' => [ + 'ClientID' => ['description' => 'The client ID.', 'type' => 'string', 'example' => 'ClientID', 'title' => ''], + 'ClientSecret' => ['description' => 'The client secret of the application.', 'type' => 'string', 'example' => 'ClientSecret', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'OAuthHttpParameters' => [ + 'description' => 'The request parameters used for OAuth authentication.', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => 'The list of request parameter data structures.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of body request parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the body request parameter.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the body request parameter.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'HeaderParameters' => [ + 'description' => 'The list of header parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of header parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the header parameter.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the header parameter.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'QueryStringParameters' => [ + 'description' => 'The data structure of query string parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The entity class of query string parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the value is used for authentication.', 'type' => 'string', 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the query string parameter.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the query string parameter.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'InstanceEndpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceUsername' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstancePassword' => [ - 'type' => 'string', - 'required' => false, - ], - 'NetworkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'If there are more results to fetch, NextToken is returned.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + 'MaxResults' => ['description' => 'The page size.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkSLSParameters' => [ - 'description' => 'The parameters that are configured if you specify Simple Log Service as the event target.'."\n", + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + ['errorCode' => 'RequestParameterException', 'errorMessage' => 'Request parameter exception', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'InternalError', 'description' => ''], + ], + ], + 'title' => 'Queries the list of connection configurations.', + 'summary' => 'Queries the list of connection configurations.', + 'description' => 'Queries the list of connection configurations.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ], + '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"}]', + 'translator' => 'machine', + ], + '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' => 'The prefix of the names of the event buses that you want to query.'."\n", 'type' => 'string', 'required' => false, 'example' => 'My', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return in a request. You can use this parameter and NextToken to implement paging.'."\n" + ."\n" + .'> A maximum of 100 entries can be returned in a request.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'If you configure Limit and excess return values exist, this parameter is returned. You can use this parameter and Limit to implement paging.'."\n", 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'InvalidArgument', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D1DCF64A-3F2C-5323-ADCB-3F4DF30F****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ - 'Project' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-project', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'LogStore' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The Simple Log Service Logstore.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' test-logstore', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The topic that you want to use to store logs. This parameter corresponds to the reserved field **topic** in Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The topic that you want to use to store logs. This parameter corresponds to the reserved field **topic** in Simple Log Service.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testTopic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The message body that you want to deliver to Simple Log Service.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value before transformation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "key": "value"'."\n" - .'}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The value of ${key} is ${value}!'."\n", - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Simple Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'testRole', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'ContentType' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JSON', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', + 'EventBuses' => [ + 'description' => 'The event buses.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EventBusARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event bus.'."\n", 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + 'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'example' => 'bus_description', 'title' => ''], + 'CreateTimestamp' => ['description' => 'The timestamp that indicates when the event bus was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1607071602000', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'ContentSchema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', + 'NextToken' => ['description' => 'If excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'example' => '10', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'* Success: The request was successful.'."\n" + .'* Other codes: The request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"D1DCF64A-3F2C-5323-ADCB-3F4DF30F****\\",\\n \\"Data\\": {\\n \\"EventBuses\\": [\\n {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"Description\\": \\"bus_description\\",\\n \\"CreateTimestamp\\": 1607071602000\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 2\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListEventBuses', + 'summary' => 'Queries all event buses.', + 'description' => 'You can call this API operation to query all event buses.'."\n", + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:38.000Z', 'description' => 'Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:ListEventBuses', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'ListEventStreamings' => [ + 'summary' => 'Queries event streams.', + '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' => 'The name prefix of the event stream.', 'type' => 'string', 'required' => false, 'example' => 'name'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return per request. You can use this parameter together with NextToken for pagination.'."\n" + .'>The maximum number of entries per request cannot exceed 100.>.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. If the Limit parameter is specified and additional results exist, this parameter is returned.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The tags used for filtering.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'mns', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'mnstest', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceArn', + 'in' => 'formData', + 'schema' => ['description' => 'The ARN of the event source.', 'type' => 'string', 'required' => false, 'example' => 'acs:alikafka:cn-hangzhou:118609547428****:instance/alikafka_pre-cn-zxu36kvi****/topic/test-topic', 'title' => ''], + ], + [ + 'name' => 'SinkArn', + 'in' => 'formData', + 'schema' => ['description' => 'The ARN of the event target.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fw1.LATEST/functions/log1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event streaming [xxxx] not existed!'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '283FF852-C4B8-58C9-9777-F88A5A16****', 'title' => ''], + 'Data' => [ + 'description' => 'The list of event streams.', + 'type' => 'object', + 'properties' => [ + 'EventStreamings' => [ + 'description' => 'The list of event streams.', + 'type' => 'array', + 'items' => [ + 'description' => 'The event stream entity.', + 'type' => 'object', + 'properties' => [ + 'EventStreamingName' => ['description' => 'The name of the event stream.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Description' => ['description' => 'The description of the event stream.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'Source' => [ + 'description' => 'The event source.', + 'type' => 'object', + 'properties' => [ + 'SourceMNSParameters' => [ + 'description' => 'The parameters that are returned if the event source is Simple Message Queue (formerly MNS).', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'title' => ''], + 'QueueName' => ['description' => 'The name of the Simple Message Queue (formerly MNS) queue.', 'type' => 'string', 'example' => 'work4', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Indicates whether Base64 decoding is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceRabbitMQParameters' => [ + 'description' => 'The parameters that are returned if the event source is RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'dbaudit-cn-7mz2hqo****', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'eb-connect'."\n", 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'liuyang', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceRocketMQParameters' => [ + 'description' => 'The parameters that are returned if the event source is RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'i-f8zbher64dlm58pl****'."\n", 'title' => ''], + 'Topic' => ['description' => 'The topic of the message.', 'type' => 'string', 'example' => 'topic_add_anima', 'title' => ''], + 'Tag' => ['description' => 'The filter tag of the message.', 'type' => 'string', 'example' => 'v1', 'title' => ''], + 'Offset' => ['description' => 'The consumption offset of the message. Valid values:'."\n" + .'CONSUMEFROMLASTOFFSET: consumption starts from the latest offset.'."\n" + .'CONSUMEFROMFIRSTOFFSET: consumption starts from the earliest offset.'."\n" + .'CONSUMEFROMTIMESTAMP: consumption starts from the offset at a specified point in time.', 'type' => 'string', 'example' => 'CONSUMEFROMTIMESTAMP', 'title' => ''], + 'GroupID' => ['description' => 'The group ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'GID_group1', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp. This parameter is valid only if the Offset parameter is set to CONSUMEFROMTIMESTAMP.', 'type' => 'integer', 'format' => 'int64', 'example' => '1670742074043', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster.', 'type' => 'string', 'example' => 'Cloud_4'."\n", 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username of the instance.', 'type' => 'string', 'example' => 'admin**', 'title' => ''], + 'InstancePassword' => ['description' => 'The password of the instance.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'InstanceVpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-bp1a4gmlk31hy***l3ss', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch information of the instance.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h123456****'."\n", 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group information of the instance.', 'type' => 'string', 'example' => 'sg-m5edtu24f12345****'."\n", 'title' => ''], + 'InstanceNetwork' => ['description' => 'The network type of the instance. Valid values:'."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork.', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'BodyDataType' => ['description' => 'The encoding format of the message body. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values: '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork.', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'FilterType' => ['description' => 'The message filter type.', 'type' => 'string', 'example' => 'Tag'."\n", 'title' => ''], + 'FilterSql' => ['description' => 'The SQL filter statement.', 'type' => 'string', 'example' => 'index > 10'."\n", 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-m5e3sv4b12345****'."\n", 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12345****'."\n", 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-m5edtu24f12345****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters that are returned if the event source is RocketMQ Checkpoint.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'Cloud_5', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => "\n" + .'rmq-cn-jte3w******', 'title' => ''], + 'Topics' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'array', + 'items' => ['description' => 'The topic of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'myTopic', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The parameters that are returned if the event source is RocketMQ Checkpoint.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Topics' => [ + 'description' => 'The topic of the Apache RocketMQ instance.', + 'type' => 'array', + 'items' => ['description' => 'The topic of the Apache RocketMQ instance.', 'type' => 'string', 'example' => 'myTopic', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The endpoint of the Apache RocketMQ instance.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username of the Apache RocketMQ instance.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The password of the Apache RocketMQ instance.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-adw1awdw*****', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-dwaafds****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-mw43*****', 'title' => ''], + ], + 'example' => '', + ], + 'SourceKafkaParameters' => [ + 'description' => 'The parameters that are returned if the event source is Kafka.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-chengdu', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'bastionhost-cn-i7m2gwt****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'topic_empower_1642473600414'."\n", 'title' => ''], + 'ConsumerGroup' => ['description' => 'The group ID of the consumer that subscribes to the topic.', 'type' => 'string', 'example' => 'GID_TEST', 'title' => ''], + 'OffsetReset' => ['description' => 'The offset.', 'type' => 'string', 'example' => 'latest', 'title' => ''], + 'Network' => ['description' => 'The network configuration. The default value is Default. For VPC networks, the value is PublicNetwork.', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-wz9ki1qdlx3cx5cbf****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1rmi8rind7eo50c****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-5ud5f3p0rqqis69****eho7cp', 'title' => ''], + 'ValueDataType' => ['description' => 'The encoding and decoding format of the message body. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceMQTTParameters' => [ + 'description' => 'The parameters that are returned if the event source is MQTT.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'bastionhost-cn-zvp27kc****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'migration_instance', 'title' => ''], + 'BodyDataType' => ['description' => 'The encoding format of the message body. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceDTSParameters' => [ + 'description' => 'The parameters that are returned if the event source is Data Transmission Service (DTS).', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '1611b337285f44e2936a2c4170****', 'title' => ''], + 'BrokerUrl' => ['description' => 'The network address and port number of the data subscription channel.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Topic' => ['description' => 'The subscription topic of the data subscription channel.', 'type' => 'string', 'example' => 'TP_TEST_UNDERWRITE_ISSUE'."\n", 'title' => ''], + 'Sid' => ['description' => 'The consumer group ID.', 'type' => 'string', 'example' => 'HG9', 'title' => ''], + 'Username' => ['description' => 'The username of the consumer group.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password of the consumer group.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'InitCheckPoint' => ['description' => 'The consumption checkpoint, which is the timestamp when the SDK client consumes the first data record. The value is a UNIX timestamp.', 'type' => 'string', 'example' => '1620962769', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceSLSParameters' => [ + 'description' => 'The parameters that are returned if the event source is Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The Simple Log Service project.', 'type' => 'string', 'example' => 'dmmzk', 'title' => ''], + 'LogStore' => ['description' => 'The Simple Log Service Logstore.', 'type' => 'string', 'example' => 'waf-logstore'."\n", 'title' => ''], + 'ConsumerGroup' => ['description' => 'The group ID of the consumer that subscribes to the topic.', 'type' => 'string', 'example' => 'go-dts-shelf-group', 'title' => ''], + 'ConsumePosition' => ['description' => 'The initial consumption offset. You can select the earliest or latest offset, which corresponds to "begin" or "end" respectively. You can also start consumption from a specified point in time, in seconds.', 'type' => 'string', 'example' => 'begin', 'title' => ''], + 'RoleName' => ['description' => '授权事件总线EventBridge使用此角色读取SLS日志内容时,需满足条件:在RAM控制台创建服务所使用的角色时,需要选择“阿里云服务”,并且“受信服务”需要选择“事件总线”。', 'type' => 'string', 'example' => 'testRole', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourcePrometheusParameters' => [ + 'description' => 'The parameters that are returned if the event source is Prometheus.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c83555068b6******ad213f565f209'."\n", 'title' => ''], + 'DataType' => ['description' => 'The data type.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + 'Labels' => ['description' => 'The tag.', 'type' => 'string', 'example' => '__name__=.*'."\n", 'title' => ''], + 'RoleName' => ['description' => 'The role used to access Prometheus data.', 'type' => 'string', 'example' => 'testRole', 'title' => ''], + 'ExternalLabels' => ['description' => 'The custom labels attached to the event.', 'type' => 'string', 'example' => '{"source":"prometheus-prod"}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => 'The parameters that are returned if the event source is a custom Kafka source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'gtm-cn-k2c2yfg****'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => 'The parameters that are returned if the event source is a custom Apache Kafka connector.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The download URL of the OSS resource ZIP package.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'The connector parameters.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'example' => 'test-name'."\n", 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The Kafka instance configuration.', '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" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceOSSParameters' => [ + 'description' => 'The parameters that are returned if the event source is Object Storage Service (OSS).', + 'type' => 'object', + 'properties' => [ + 'RoleName' => ['description' => 'The name of the role that authorizes EventBridge to read OSS files. The role must have at least read-only permissions on OSS.', 'type' => 'string', 'example' => 'eventbridge_oss_role'."\n", 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'bucket_abc'."\n", 'title' => ''], + 'Prefix' => ['description' => 'The file path prefix.', 'type' => 'string', 'example' => 'fun/document/'."\n", 'title' => ''], + 'LoadMode' => ['description' => 'The data loading mode. The value single indicates single-document loading, and the value element indicates chunked loading. Valid values: single and element. Default value: single.', 'type' => 'string', 'example' => 'single'."\n", 'title' => ''], + 'LoadFormat' => ['description' => 'The document loader.', 'type' => 'string', 'example' => 'TextLoader'."\n", 'title' => ''], + 'Delimiter' => ['description' => 'The delimiter. In chunked loading mode, this delimiter is used as the text chunking identifier. By default, the newline character '."\n" + .' is used as the delimiter.', 'type' => 'string', 'example' => '\\n'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'The parameters that are returned if the event source is open source RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'VirtualHostName' => ['description' => 'The virtual host name of the open source RabbitMQ instance.', 'type' => 'string', 'example' => 'Vhost1', 'title' => ''], + 'QueueName' => ['description' => 'The queue name of the open source RabbitMQ instance.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'BodyDataType' => ['description' => 'The data type of the message body.', 'type' => 'string', 'example' => 'Json', 'title' => ''], + 'Username' => ['description' => 'The username used to connect to the open source RabbitMQ instance.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password used to connect to the open source RabbitMQ instance.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-m5e3sv4b12345****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-m5edtu24f12345****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceEventBusParameters' => [ + 'description' => 'The parameters that are returned if the event source is EventBridge.', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'my-event-bus', 'title' => ''], + 'EventRuleName' => ['description' => 'The name of the event rule.', 'type' => 'string', 'example' => 'my-event-rule', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceMySQLParameters' => ['description' => 'The parameters that are returned if the event source is MySQL.', '$ref' => '#/components/schemas/SourceMySQLParameters', 'title' => '', 'example' => ''], + 'SourcePostgreSQLParameters' => ['$ref' => '#/components/schemas/SourcePostgreSQLParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FilterPattern' => ['description' => 'The event filtering rule. If this parameter is not specified, all events are matched.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Transforms' => [ + 'description' => 'The Transform-related configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ARN of the cloud service, such as the ARN of a function in Function Compute.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The ARN of the cloud service, such as the ARN of a function in Function Compute.', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func'."\n", 'title' => ''], + 'DashScopeTransformParameters' => ['$ref' => '#/components/schemas/DashScopeTransformParameters', 'description' => '', 'title' => '', 'example' => ''], + 'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Sink' => [ + 'description' => 'The event target.', + 'type' => 'object', + 'properties' => [ + 'SinkMNSParameters' => [ + 'description' => 'The Simple Message Queue (formerly MNS) event target.', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => 'The target service type is Simple Message Queue (formerly MNS).', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the Simple Message Queue (formerly MNS) queue.', 'type' => 'string', 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'IsBase64Encode' => [ + 'description' => 'Indicates whether Base64 decoding is enabled.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Specifies whether to enable Base64 encoding.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkEventHouseParameters' => [ + 'title' => '', + 'description' => 'The event target name.', + 'type' => 'object', + 'properties' => [ + 'CatalogName' => ['title' => '', 'description' => 'The catalog name.', 'type' => 'string', 'example' => 'cat1'], + 'NamespaceName' => ['title' => '', 'description' => 'The namespace name.', 'type' => 'string', 'example' => 'name1'], + 'EventTableName' => ['title' => '', 'description' => 'The table name.', 'type' => 'string', 'example' => 'table1'], + 'MappingRules' => [ + 'title' => '', + 'description' => 'The field mapping rules.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The mapping rule.', + 'type' => 'object', + 'properties' => [ + 'ColumnValue' => [ + 'title' => '', + 'description' => 'The column value extraction rule.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The extraction path.', 'type' => 'string', 'example' => '$.data.value'], + 'Form' => ['title' => '', 'description' => 'The extraction method.', 'type' => 'string', 'example' => 'JSONPATH'], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'], + ], + 'example' => '', + ], + 'ColumnName' => ['title' => '', 'description' => 'The column name.', 'type' => 'string', 'example' => 'age'], + 'ColumnType' => [ + 'title' => '', + 'description' => 'The column type.', + 'type' => 'string', + 'example' => 'text', + 'enum' => ['long', 'text', 'json', 'double'], + ], + ], + 'example' => '', + ], + 'example' => '', + ], + ], + 'example' => '', + ], + 'SinkFcParameters' => [ + 'title' => '', + 'description' => 'The Function Compute event target.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The name of the service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the service.', 'type' => 'string', 'example' => 'myService', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FunctionName' => [ + 'description' => 'The function name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The function name.', 'type' => 'string', 'example' => 'mFunction', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Concurrency' => [ + 'description' => 'The delivery concurrency. The minimum value is 1.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery concurrency. The minimum value is 1.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Qualifier' => [ + 'description' => 'The alias of the service to which the function belongs.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The alias of the service to which the function belongs.', 'type' => 'string', 'example' => 'LATEST', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InvocationType' => [ + 'description' => 'The invocation type. Valid values:'."\n" + .'- Sync: synchronous.'."\n" + .'- Async: asynchronous.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The invocation type. Valid values:'."\n" + .'- Sync: synchronous.'."\n" + .'- Async: asynchronous.', 'type' => 'string', 'example' => 'Async', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content body sent to the function.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DataFormat' => [ + 'description' => 'The transformation rule for the event content format.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + 'SinkRabbitMQParameters' => [ + 'description' => 'The parameters of the Sink RabbitMQ event target.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The target service type is ApsaraMQ for RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of ApsaraMQ for RabbitMQ.', 'type' => 'string', 'example' => 'si-296cd57939a1421b****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VirtualHostName' => [ + 'description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the vhost of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'rabbit-host'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TargetType' => [ + 'description' => 'The target type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The target type. Valid values:'."\n" + .'Exchange: Exchange mode.'."\n" + .'Queue: Queue mode.', 'type' => 'string', 'example' => 'Queue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Exchange' => [ + 'description' => 'The Exchange mode.'."\n" + .'This parameter is required only when the TargetType parameter is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the exchange of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'example' => 'a_exchange', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoutingKey' => [ + 'description' => 'The routing rule of the message.'."\n" + .'This parameter is required only when the TargetType parameter is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The routing rule of the message.', 'type' => 'string', 'example' => 'housekeeping', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'QueueName' => [ + 'description' => 'The Queue mode.'."\n" + .'This parameter is required only when the TargetType parameter is set to Queue.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the queue of the instance.', 'type' => 'string', 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The message ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkKafkaParameters' => [ + 'description' => 'The parameters of the Sink Kafka event target.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The target service type is ApsaraMQ for Kafka.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'Defaut_1283278472_sad****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Topic' => [ + 'description' => 'The topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'topic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the destination topic routing policy for messages. If both the topic and topics parameters are specified, the topics parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: Specify a fixed topic name string (such as "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: Specify a standard JSONPath expression (such as "$.user.id" or "$.metadata.category"). The system parses the upstream message body and extracts the value of the matching field as the destination topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transformation type. Valid values:'."\n" + .'CONSTANT: a fixed value.'."\n" + .'JSONPATH: extracts the value from the upstream based on a path.', 'type' => 'string', 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'example' => ''], + ], + 'example' => '', + ], + 'Acks' => [ + 'description' => 'The acknowledgment mode for writing to Kafka. Valid values:'."\n" + .'- acks=0: No response is required from the server. This mode provides high performance but a high risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode provides moderate performance and a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned after the primary node writes successfully and the secondary nodes complete synchronization. This mode provides lower performance but higher data security. Data loss occurs only if both the primary and secondary nodes go down.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The acknowledgment mode for writing to Kafka. Valid values:'."\n" + .'- acks=0: No response is required from the server. This mode provides high performance but a high risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode provides moderate performance and a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned after the primary node writes successfully and the secondary nodes complete synchronization. This mode provides lower performance but higher data security. Data loss occurs only if both the primary and secondary nodes go down.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Key' => [ + 'description' => 'The message key.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The message key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'description' => 'The message body content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkRocketMQParameters' => [ + 'description' => 'The parameters of the Sink RocketMQ event target.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The target service type is ApsaraMQ for RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of ApsaraMQ for RocketMQ.', 'type' => 'string', 'example' => 'MQ_INST_164901546557****_BAAN****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'topic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Keys' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Tags' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceType' => [ + 'description' => 'The instance type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: ApsaraMQ for RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: ApsaraMQ for RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster.', 'type' => 'string', 'example' => 'Cloud_4', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => [ + 'description' => 'The instance endpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceUsername' => [ + 'description' => 'The username of the instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The username of the instance.', 'type' => 'string', 'example' => 'admin'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstancePassword' => [ + 'description' => 'The password of the instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The password of the instance.', 'type' => 'string', 'example' => 'admin******'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'The ID of the VPC.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vbr-8vb835n3zf9shwlvb****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format for the event. Default.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vbr-8vb835n3zf9shwl****mp'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n" + ."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'b4bf375515f6440f942e3a20c33d****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Network' => [ + 'description' => 'The network type. Valid values: '."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork.', 'type' => 'string', 'example' => 'PublicNetwork'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DeliveryOrderType' => [ + 'description' => 'The delivery order type of the message.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery order type.', 'type' => 'string', 'example' => 'Orderly', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ShardingKey' => [ + 'description' => 'The sharding key of the message, which is used to control message partitioning.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The sharding key value.', 'type' => 'string', 'example' => 'order_id', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkDorisParameters' => [ + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The Sink RocketMQ Checkpoint parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => ['description' => 'The instance type of ApsaraMQ for RocketMQ.', 'type' => 'string', 'example' => 'Cloud_5', 'title' => ''], + 'InstanceId' => ['description' => 'The RocketMQ instance ID.', 'type' => 'string', 'example' => 'MQ_INST_1825725063814405_BZ******', 'title' => ''], + 'Topic' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the topic.', 'type' => 'string', 'example' => 'myTopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The consumer group information of ApsaraMQ for RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The group ID of the consumer group.', 'type' => 'string', 'example' => 'GID_******', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The consumption checkpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1636597951964', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The Sink Apache RocketMQ Checkpoint parameters.', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'The topic name of the Apache RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the topic.', 'type' => 'string', 'example' => 'myTopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The consumer group information of Apache RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The group ID of the consumer group.', 'type' => 'string', 'example' => 'GID_******', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The consumption checkpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'example' => '1636597951964', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The endpoint of the Apache RocketMQ instance.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username of the Apache RocketMQ instance.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The password of the Apache RocketMQ instance.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-wz9qqeovkwjxlu9uc****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + ], + 'example' => '', + ], + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The Simple Log Service project.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Simple Log Service project.', 'type' => 'string', 'example' => 'test-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LogStore' => [ + 'description' => 'The Simple Log Service Logstore.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Simple Log Service Logstore.', 'type' => 'string', 'example' => 'test-logstore'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic where the log resides, which corresponds to the Simple Log Service reserved field "topic".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic where the log resides, which corresponds to the Simple Log Service reserved field "topic".', 'type' => 'string', 'example' => 'topic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content sent to Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'To authorize EventBridge to use this role to read Simple Log Service log content, create a role in the Resource Access Management (RAM) console, select Alibaba Cloud Service as the trusted entity, and select EventBridge as the trusted service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'To authorize EventBridge to use this role to read Simple Log Service log content, create a role in the Resource Access Management (RAM) console, select Alibaba Cloud Service as the trusted entity, and select EventBridge as the trusted service.', 'type' => 'string', 'example' => 'test-role', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ContentType' => [ + 'description' => 'The Simple Log Service data format. You can select the default format or configure a specified key-value pair. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Simple Log Service data format. You can select the default format or configure a specified key-value pair. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue.', 'type' => 'string', 'example' => 'JSON'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ContentSchema' => [ + 'description' => 'The custom log key-value pairs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkFnfParameters' => [ + 'description' => 'The Sink Fnf parameters.', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => 'The flow name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The flow name.', 'type' => 'string', 'example' => 'test-streaming-fnf'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ExecutionName' => [ + 'description' => 'The execution name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution name.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Input' => [ + 'description' => 'The execution input information.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution input information.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The role configuration.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The role configuration.', 'type' => 'string', 'example' => 'Al****FNF-x****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkDataHubParameters' => [ + 'description' => 'The Sink DataHub parameters.', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The DataHub project name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub project name.', 'type' => 'string', 'example' => 'demo-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The DataHub topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub topic name.', 'type' => 'string', 'example' => 'demo-topic'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TopicType' => [ + 'description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB.', 'type' => 'string', 'example' => 'TUPLE'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TopicSchema' => [ + 'description' => 'The topic content schema for the TUPLE type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic content schema for the TUPLE type.', 'type' => 'string', 'example' => '{"k1":"value1","k2":"value2"}'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The record content template for the BLOB type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The record content template for the BLOB type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'ORIGINAL'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'To authorize EventBridge to use this role to read Simple Log Service log content, create a role in the Resource Access Management (RAM) console, select Alibaba Cloud Service as the trusted entity, and select EventBridge as the trusted service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'To authorize EventBridge to use this role to read Simple Log Service log content, create a role in the Resource Access Management (RAM) console, select Alibaba Cloud Service as the trusted entity, and select EventBridge as the trusted service.', 'type' => 'string', 'example' => 'testRole'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'The Sink Kafka parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of ApsaraMQ for Kafka.', 'type' => 'string', 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'The Sink Kafka connector parameters.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The download URL of the OSS file.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'Parses the properties file in the current ZIP package.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'example' => 'mongo-sink'."\n", 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SinkDashVectorParameters' => [ + 'description' => 'The Sink DashVector parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'vrs-cn-lbj3ru1***'."\n", 'title' => ''], + 'Collection' => ['description' => 'The collection name.', 'type' => 'string', 'example' => 'collection1'."\n", 'title' => ''], + 'ApiKey' => ['description' => 'The API key created in the DashVector console.', 'type' => 'string', 'example' => 'Q34nExQH7sQ****'."\n", 'title' => ''], + 'Operation' => ['description' => 'The DashVector database operation type.', 'type' => 'string', 'example' => 'Upsert'."\n", 'title' => ''], + 'Network' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PublicNetwork'."\n", 'title' => ''], + 'PrimaryKeyId' => [ + 'description' => 'The primary key ID for inserting or deleting records. If this field is not specified, a random primary key ID is used.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'JSONPATH'."\n", 'title' => ''], + 'Value' => ['description' => '- If Form is JSONPATH: the content extracted by JSONPath.'."\n" + .'- If Form is TEMPLATE: the template variable.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.requestId'."\n", 'title' => ''], + 'Template' => ['description' => 'The primary key ID template. This parameter is required only when Form is set to TEMPLATE.', 'type' => 'string', 'example' => '${ID}'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Partition' => [ + 'description' => 'The partition. Default value: default.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Value' => ['description' => '- If Form is CONSTANT: the constant value.'."\n" + .'- If Form is JSONPATH: the content extracted by JSONPath.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => 'default'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Vector' => [ + 'description' => 'The vector of the record to insert into DashVector.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'JSONPATH'."\n", 'title' => ''], + 'Value' => ['description' => 'The content extracted by JSONPath.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'example' => '$.data.messageBody'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DashVectorSchemaParameters' => [ + 'description' => 'The schema field definition for table entries when inserting into DashVector. The result after event content transformation must be in JSON format.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Type' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'The Sink open source RabbitMQ parameters.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The RabbitMQ instance endpoint.', 'type' => 'string', 'example' => '192.168.1.1:9876', 'title' => ''], + 'VirtualHostName' => ['description' => 'The virtual host name of the RabbitMQ instance.', 'type' => 'string', 'example' => 'Vhost1', 'title' => ''], + 'TargetType' => ['description' => 'The target type.', 'type' => 'string', 'example' => 'exchange', 'title' => ''], + 'Exchange' => ['description' => 'The name of the exchange used for message routing.', 'type' => 'string', 'example' => 'my_exchange', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue used to store messages.', 'type' => 'string', 'example' => 'my_queue', 'title' => ''], + 'Username' => ['description' => 'The username used for authentication.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password used for authentication.', 'type' => 'string', 'example' => '****', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-wz9qqeovkwjxlu9uc****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + 'RoutingKey' => [ + 'description' => 'The routing rule of the message. This parameter is required only when the TargetType parameter is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The data format. Default value: JSONPATH.', 'type' => 'string', 'example' => 'JSONPATH', 'title' => ''], + 'Value' => ['description' => 'The routing rule of the message.', 'type' => 'string', 'example' => 'housekeeping'."\n", 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE'."\n", 'title' => ''], + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The message ID.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE'."\n", 'title' => ''], + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'example' => ' '."\n" + .'{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SinkBaiLianParameters' => ['description' => 'The Sink BaiLian parameters.', '$ref' => '#/components/schemas/SinkBaiLianParameters', 'title' => '', 'example' => ''], + 'SinkHttpsParameters' => ['title' => '', 'description' => 'The HTTPS event target parameters.', '$ref' => '#/components/schemas/SinkHttpsParameters', 'example' => ''], + 'SinkApiDestinationParameters' => ['title' => '', 'description' => 'The ApiDestination event target parameters.', '$ref' => '#/components/schemas/SinkApiDestinationParameters', 'example' => ''], + 'SinkOSSParameters' => ['$ref' => '#/components/schemas/SinkOSSParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => '', 'title' => '', 'example' => ''], + 'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RunOptions' => [ + 'description' => 'The runtime parameters.', + 'type' => 'object', + 'properties' => [ + 'MaximumTasks' => ['description' => 'The concurrency.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RetryStrategy' => [ + 'description' => 'The retry policy when event delivery fails.', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => ['description' => 'The retry policy. Valid values: BACKOFF_RETRY (backoff retry) and EXPONENTIAL_DECAY_RETRY (exponential decay retry).', 'type' => 'string', 'example' => 'EXPONENTIAL_DECAY_RETRY', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values: NONE (no fault tolerance) and ALL (tolerate all faults).', 'type' => 'string', 'example' => 'ALL', 'title' => ''], + 'DeadLetterQueue' => [ + 'description' => 'Specifies whether to enable the dead-letter queue. By default, the dead-letter queue is disabled. Messages that exceed the retry policy are discarded.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The ARN of the dead-letter queue.', 'type' => 'string', 'example' => 'acs:ram::159787121179****:role/aliyunsaedefaultrole', 'title' => ''], + 'Network' => ['description' => 'The network type of the dead-letter queue.', 'type' => 'string', 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID of the dead-letter queue.', 'type' => 'string', 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID of the dead-letter queue.', 'type' => 'string', 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID of the dead-letter queue instance.', 'type' => 'string', 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BatchWindow' => [ + 'description' => 'The batch window.', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => ['description' => 'The maximum number of events that the window can accommodate. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'TimeBasedWindow' => ['description' => 'The maximum time range of events that the window can accommodate, in seconds. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BusinessOption' => [ + 'type' => 'object', + 'properties' => [ + 'BusinessMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + 'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Status' => ['description' => 'The status of the event stream.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''], + 'Metadata' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'Indicates the position from which the current call starts reading. An empty value indicates that all data has been read. In the next call, set the NextToken parameter to this value.', 'type' => 'string', 'example' => '177', 'title' => ''], + 'Total' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkDataHubParameters' => [ - 'description' => 'The parameters that are configured if you specify DataHub as the event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Project' => [ - 'description' => 'The name of the DataHub project.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the DataHub project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo-project', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Topic' => [ - 'description' => 'The name of the DataHub topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The name of the DataHub topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo-topic', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'TopicType' => [ - 'description' => 'The topic type. Valid values:'."\n" - ."\n" - .'* TUPLE'."\n" - .'* BLOB'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The topic type. Valid values:'."\n" - ."\n" - .'* TUPLE'."\n" - .'* BLOB'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TUPLE', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'TopicSchema' => [ - 'description' => 'The TUBLE topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The TUBLE topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"k1":"value1","k2":"value2"}', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{"k1":"${k1}","k2":"${k2}"}', - ], - ], - 'required' => false, - ], - 'Body' => [ - 'description' => 'The BLOB topic.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The BLOB topic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ORIGINAL', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-role', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'Success: The request was successful.'."\n" + ."\n" + .'Other values: An error occurred. For more information, see error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. A value of true indicates success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Query event streams', + 'description' => 'Queries event streams.', + 'changeSet' => [ + ['createdAt' => '2025-06-18T09:00:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-04-07T07:28:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-07-12T03:21:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-28T02:40:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-05-31T06:16:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-06-09T05:52:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-10T09:25:34.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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/*'], + ], + ], + ], + ], + 'translator' => 'machine', + '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 \\"SourceMySQLParameters\\": {\\n \\"RegionId\\": \\"\\",\\n \\"HostName\\": \\"\\",\\n \\"User\\": \\"\\",\\n \\"Password\\": \\"\\",\\n \\"DatabaseName\\": \\"\\",\\n \\"TableNames\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\",\\n \\"Port\\": 0,\\n \\"SnapshotMode\\": \\"\\",\\n \\"IncludeSchemaChanges\\": \\"\\"\\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 \\"SinkBaiLianParameters\\": {\\n \\"WorkspaceId\\": \\"\\",\\n \\"ApplicationType\\": \\"\\",\\n \\"Before\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"After\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Context\\": \\"\\",\\n \\"Extend\\": \\"\\",\\n \\"Op\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Partition\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Offset\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n }\\n },\\n \\"SinkHttpsParameters\\": {\\n \\"URL\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Method\\": \\"\\",\\n \\"Body\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"Token\\": \\"\\",\\n \\"NetworkType\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"SinkApiDestinationParameters\\": {\\n \\"Name\\": \\"\\",\\n \\"HeaderParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"BodyParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"QueryStringParameters\\": {\\n \\"Form\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Template\\": \\"\\"\\n },\\n \\"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\\": false,\\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' => '', 'description' => 'Pagination Token', 'type' => 'string', 'example' => '0', 'required' => false], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Items per page', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'Response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Response data', + 'type' => 'object', + 'properties' => [ + 'Namespaces' => [ + 'title' => '', + 'description' => 'Namespace list', + 'type' => 'array', + 'items' => ['description' => 'Namespace list and details.', '$ref' => '#/components/schemas/Namespace', 'title' => '', 'example' => ''], + 'example' => '', ], + 'NextToken' => ['title' => '', 'description' => 'Next page token', 'type' => 'string', 'example' => '10'], + 'Total' => ['title' => '', 'description' => 'Total count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], - 'required' => false, + 'example' => '', ], - 'SinkFnfParameters' => [ - 'description' => 'The parameters that are configured if you specify CloudFlow as the event target.'."\n", + 'Code' => ['title' => '', 'description' => 'Response code. 200 indicates success.', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether the operation succeeded', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query namespace list', + 'summary' => 'Query namespace list', + '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"}]', + 'translator' => 'machine', + ], + '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' => 'The prefix of the rule name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to be returned in a single call. You can use this parameter and the NextToken parameter to implement paging. A maximum of 100 entries can be returned in a single call.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'If you set the Limit parameter and excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '1000', 'title' => ''], + ], + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'Specified parameter Limit is not valid.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C7043799-F4DA-5290-9249-97C35987****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ - 'FlowName' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The flow name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-streaming-fnf', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'NextToken' => ['description' => 'If excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'example' => '1000', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'Rules' => [ + 'description' => 'The event rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The event rule.'."\n", + 'type' => 'object', + 'properties' => [ + 'DetailMap' => ['description' => 'The details of the event rule.', 'type' => 'object', 'title' => '', 'example' => ''], + 'Status' => ['description' => 'The status of the event rule. Valid values:'."\n" + ."\n" + .'* **ENABLE** (default)'."\n" + .'* **DISABLE**'."\n", 'type' => 'string', 'example' => 'ENABLE', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'RuleARN' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3', 'title' => ''], + 'Description' => ['description' => 'The rule description.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'Targets' => [ + 'description' => 'The event targets.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The event target.'."\n", + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the event target. For more information, see [Event target parameters.](https://www.alibabacloud.com/help/en/eventbridge/latest/event-target-parameters)', 'type' => 'string', 'example' => 'acs.mns.queue'."\n", 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the event target.', 'type' => 'string', 'example' => 'acs:mns:cn-hangzhou:123456789098****:queues/myqueue', 'title' => ''], + 'Id' => ['description' => 'The ID of the custom event target.', 'type' => 'string', 'example' => 'Mlm123456JHd2Rs****', 'title' => ''], + 'PushSelector' => ['description' => 'The transformer that is used to push events.'."\n", 'type' => 'string', 'example' => 'PARAM_TRANSFORMER', 'title' => ''], + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values:'."\n" + ."\n" + .'* **ALL**: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations.'."\n" + .'* **NONE**: Fault tolerance is prohibited. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.'."\n", 'type' => 'string', 'example' => 'ALL', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', + 'FilterPattern' => ['description' => 'The event pattern, in JSON format. Valid values:'."\n" + ."\n" + .'* **stringEqual**: Up to five expressions in the map data structure can be specified in each field.'."\n" + .'* **stringExpression**: Up to five expressions in the map data structure can be specified in each field.'."\n", 'type' => 'string', 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}'."\n", 'title' => ''], + 'CreatedTimestamp' => ['description' => 'The creation timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1607071602000', 'title' => ''], + 'RuleName' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'example' => 'tf-testacc-rule', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'ExecutionName' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The execution name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'TEMPLATE' => 'TEMPLATE', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code.'."\n" + ."\n" + .'* **Success**: The request was successful.'."\n" + .'* **Other codes**: The request failed. For more information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Total\\": 6,\\n \\"Rules\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"demo\\",\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.mns.queue\\\\n\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"Id\\": \\"Mlm123456JHd2Rs****\\",\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\\\n\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"tf-testacc-rule\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListRules', + 'summary' => 'Queries all rules of an event bus.', + 'description' => 'You can call this API operation to query all rules of an event bus.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-07-04T02:52:55.000Z', 'description' => 'Response parameters changed'], + ], + '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/*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'ListTables' => [ + 'summary' => 'Query table list', + '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' => '', 'description' => 'Pagination token', 'type' => 'string', 'example' => '0', 'required' => false], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Items per page', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace', 'type' => 'string', 'example' => 'my_namespace', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'API response message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Response data', + 'type' => 'object', + 'properties' => [ + 'Tables' => [ + 'description' => 'Table entities. Each element represents a specific table, including but not limited to information such as table name and table ID.', + 'type' => 'array', + 'items' => ['description' => 'Table entities. Each element represents a specific table, including but not limited to information such as table name and table ID.', '$ref' => '#/components/schemas/Table', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], - 'Input' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The input information of the execution.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'ORIGINAL' => 'ORIGINAL', - 'TEMPLATE' => 'TEMPLATE', + 'NextToken' => ['title' => '', 'description' => 'Next page token', 'type' => 'string', 'example' => '10'], + 'Total' => ['title' => '', 'description' => 'Total count', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'example' => '{"Tables":[{"Name":"my_table","Comment":"测试事件表"}],"NextToken":"10","Total":1}', + ], + 'Code' => ['title' => '', 'description' => 'Response code', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Whether successful', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'List tables', + '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"}]', + 'translator' => 'machine', + ], + 'ListTargets' => [ + 'summary' => 'Queries all event targets of an event rule.', + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-event-bus', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of returned entries in a call.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'tf-testacc-rule', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'If you configure Limit and excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'Arn', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event rule.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fc-connector.a1/functions/event', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'EventRuleNotExisted', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB22****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Targets' => [ + 'description' => 'The event targets.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The event target.'."\n", + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of the event target. For more information, see [Event target parameters](~~183698~~).'."\n", 'type' => 'string', 'example' => 'acs.fc.function ', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the event target.'."\n", 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', 'title' => ''], + 'ParamList' => [ + 'description' => 'The parameters that are configured for the event target.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value of the event target parameter.'."\n", 'type' => 'string', 'example' => '{\\"key\\"=\\"value\\"}', 'title' => ''], + 'Template' => ['description' => 'The template that is used by the event target parameter.'."\n", 'type' => 'string', 'example' => 'The value of ${key} is ${value}! ', 'title' => ''], + 'Form' => ['description' => 'The format that is used by the event target parameter.'."\n", 'type' => 'string', 'example' => 'TEMPLATE', 'title' => ''], + 'ResourceKey' => ['description' => 'The resource parameter of the event target.'."\n", 'type' => 'string', 'example' => 'body', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'RoleName' => [ - 'description' => 'The role name.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The role name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Al****FNF-x****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values: ALL and NONE. '."\n" + ."\n" + .'- **ALL**: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. '."\n" + .'- **NONE**: Fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.', 'type' => 'string', 'example' => 'ALL', 'title' => ''], + 'Id' => ['description' => 'The ID of the event target.'."\n", 'type' => 'string', 'example' => '1453', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'example' => 'sls-beijing-one1-tf', 'title' => ''], + 'RuleName' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'example' => 'rule-uKAK2', 'title' => ''], + 'ConcurrentConfig' => [ + 'description' => 'The concurrency configuration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Concurrency' => ['description' => 'The maximum number of concurrent events allowed in the event target.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], + 'NextToken' => ['description' => 'If excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkPrometheusParameters' => [ - 'description' => 'The parameters that are configured if you specify Managed Service for Prometheus as the event target.'."\n", + 'Code' => ['description' => 'The returned response code. Valid values:'."\n" + ."\n" + .'* Success: The request is successful.'."\n" + .'* Other codes: The request failed. For a list of error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Data\\": {\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.fc.function \\",\\n \\"Endpoint\\": \\"acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC \\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}! \\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"Id\\": \\"1453\\",\\n \\"EventBusName\\": \\"sls-beijing-one1-tf\\",\\n \\"RuleName\\": \\"rule-uKAK2\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 10\\n }\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 18\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListTargets', + 'changeSet' => [ + ['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-04T02:52:54.000Z', 'description' => 'Response parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'ListUserDefinedEventSources' => [ + 'summary' => 'This operation queries all custom event sources.', + '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' => 'The prefix of the event source name.', 'type' => 'string', 'required' => false, 'example' => 'testName', 'title' => ''], + ], + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event bus.', 'type' => 'string', 'required' => false, 'example' => 'testBus', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return per request. You can use this parameter with NextToken for pagination. The maximum value is 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token used to retrieve the next page of results. Set this parameter to the NextToken value returned from a previous call.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'InvalidArgument', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID of the request, generated by Alibaba Cloud.', 'type' => 'string', 'example' => '5169654A-7059-57E3-BFD9-33C7E012****', 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'URL' => [ - 'description' => 'The URL for the remote write configuration item of the Managed Service for Prometheus instance.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The URL for the remote write configuration item of the Managed Service for Prometheus instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'NextToken' => ['description' => 'The token to retrieve the next page of results. This parameter is returned only when the results are truncated.', 'type' => 'string', 'example' => '100', 'title' => ''], + 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], + 'EventSourceList' => [ + 'description' => 'The list of event sources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of an event source.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the event source.', 'type' => 'string', 'example' => 'rocketmq.source', 'title' => ''], + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source', 'title' => ''], + 'Status' => ['description' => 'The status of the event source. Valid value: `Activated`.', 'type' => 'string', 'example' => 'Activated', 'title' => ''], + 'Type' => ['description' => 'The type of the event source. The value `UserDefined` indicates a custom event source.', 'type' => 'string', 'example' => 'UserDefined', 'title' => ''], + 'Ctime' => ['description' => 'The time when the event source was created.', 'type' => 'number', 'format' => 'float', 'example' => '1607071602000', 'title' => ''], + 'ExternalSourceType' => ['description' => 'The type of the event provider.', 'type' => 'string', 'example' => 'RabbitMQ', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'test-custom-bus', 'title' => ''], + 'SourceMNSParameters' => [ + 'description' => 'The parameters for the Message Service (MNS) event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the MNS queue is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'QueueName' => ['description' => 'The name of the MNS queue.', 'type' => 'string', 'example' => 'queue.openapi-sign-callback', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Specifies whether to enable Base64 decoding. The default value is `true`.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'HeaderParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'TEMPLATE' => 'TEMPLATE', + 'SourceRocketMQParameters' => [ + 'description' => 'The parameters for the ApsaraMQ for RocketMQ event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the ApsaraMQ for RocketMQ instance is located.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the ApsaraMQ for RocketMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'bastionhost-cn-7mz293s9d1p', 'title' => ''], + 'Topic' => ['description' => 'The name of the topic on the ApsaraMQ for RocketMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'migration_instance', 'title' => ''], + 'Tag' => ['description' => 'The tag used to filter messages.', 'type' => 'string', 'example' => 'dataact', 'title' => ''], + 'Offset' => ['description' => 'The consumer offset. Valid values:'."\n" + ."\n" + .'- `CONSUME_FROM_LAST_OFFSET`: Start consumption from the latest offset.'."\n" + ."\n" + .'- `CONSUME_FROM_FIRST_OFFSET`: Start consumption from the earliest offset.'."\n" + ."\n" + .'- `CONSUME_FROM_TIMESTAMP`: Start consumption from a specified timestamp.'."\n" + ."\n" + .'The default value is `CONSUME_FROM_LAST_OFFSET`.', 'type' => 'string', 'example' => 'CONSUMEFROMLASTOFFSET', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp, in seconds. This parameter is required only when the `Offset` parameter is set to `CONSUME_FROM_TIMESTAMP`.', 'type' => 'number', 'format' => 'float', 'example' => '1664591760', 'title' => ''], + 'GroupId' => ['description' => 'The group ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'example' => 'GID-test', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. You can set this parameter only to `CLOUD_4` (ApsaraMQ for RocketMQ 4.0 instance), `CLOUD_5` (ApsaraMQ for RocketMQ 5.0 instance), or `SELF_BUILT` (self-managed MQ instance).', 'type' => 'string', 'example' => 'CLOUD_5', 'title' => ''], + 'InstanceNetwork' => ['description' => 'The instance network.', 'type' => 'string', 'example' => 'PublicNetwork', 'title' => ''], + 'InstanceVpcId' => ['description' => 'The ID of the Virtual Private Cloud (VPC).', 'type' => 'string', 'example' => 'vpc-***', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch IDs.', 'type' => 'string', 'example' => 'vsw-bp1iu***', 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'eb-167adad548***', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type. You can set this parameter to ACL or leave it empty.', 'type' => 'string', 'example' => 'ACL', 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', 'title' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'example' => 'root', 'title' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'example' => '***', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'TEMPLATE', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "user_name":"${name}"'."\n" - .'}', - ], - ], - 'required' => false, - ], - 'AuthorizationType' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The authentication method.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'BASIC_AUTH' => 'BASIC_AUTH', + 'SourceRabbitMQParameters' => [ + 'description' => 'The parameters for the ApsaraMQ for RabbitMQ event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the ApsaraMQ for RabbitMQ instance is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'bastionhost-cn-0ju2x28fj07', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the virtual host of the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'eb-connect', 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~163289~~).', 'type' => 'string', 'example' => 'file-upload-queue', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'BASIC_AUTH', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'SourceSLSParameters' => [ + 'description' => 'The parameters for the Log Service (SLS) event source.', + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The Log Service (SLS) Project.', 'type' => 'string', 'example' => 'VideoTestProject', 'title' => ''], + 'LogStore' => ['description' => 'The Log Service (SLS) Logstore.', 'type' => 'string', 'example' => 'cloudfirewall-logstore', 'title' => ''], + 'ConsumePosition' => ['description' => 'The starting consumer offset. You can specify `begin` for the earliest offset, `end` for the latest offset, or a specific timestamp in seconds to start consumption.', 'type' => 'string', 'example' => 'end', 'title' => ''], + 'RoleName' => ['description' => 'The name of the RAM role that EventBridge assumes to read logs from Log Service (SLS). When you create this role in the RAM console, select Alibaba Cloud Service as the trusted entity and EventBridge as the trusted service. For more information about the access policy for this role, see Custom event source for Log Service (SLS).', 'type' => 'string', 'example' => 'testRole', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SourceHttpEventParameters' => [ + 'description' => 'The parameters for the webhook event source.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The protocol type supported by the webhook. Valid values:'."\n" + ."\n" + .'- `HTTP`'."\n" + ."\n" + .'- `HTTPS`'."\n" + ."\n" + .'- `HTTP&HTTPS`', 'type' => 'string', 'example' => 'HTTPS', 'title' => ''], + 'Method' => [ + 'description' => 'The HTTP request methods supported by the webhook. You can select one or more methods. Valid values:'."\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' => 'An HTTP request method.'."\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', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'SecurityConfig' => ['description' => 'The type of security configuration. Valid values:'."\n" + ."\n" + .'- `none`: No configuration is required.'."\n" + ."\n" + .'- `ip`: IP address range.'."\n" + ."\n" + .'- `referer`: Security domain.', 'type' => 'string', 'example' => 'none', 'title' => ''], + 'Ip' => [ + 'description' => 'The IP address range for security configuration. This parameter is required only when `SecurityConfig` is set to `ip`. You can specify a CIDR block or an IP address.', + 'type' => 'array', + 'items' => ['description' => 'A CIDR block or an IP address. This parameter is required only when `SecurityConfig` is set to `ip`.', 'type' => 'string', 'example' => '8.212.139.16/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Referer' => [ + 'description' => 'The security domain settings. This parameter is required only when `SecurityConfig` is set to `referer`. You can specify one or more domain names.', + 'type' => 'array', + 'items' => ['description' => 'A security domain. This parameter is required only when `SecurityConfig` is set to `referer`.', 'type' => 'string', 'example' => 'aliyundoc.com ', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'PublicWebHookUrl' => [ + 'description' => 'The public request URL.', + 'type' => 'array', + 'items' => ['description' => 'The public request URL.', 'type' => 'string', 'example' => 'http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpcWebHookUrl' => [ + 'description' => 'The internal network request URL.', + 'type' => 'array', + 'items' => ['description' => 'The internal network request URL.', 'type' => 'string', 'example' => 'http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Username' => [ - 'description' => 'The username.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '****admin', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Password' => [ - 'description' => 'The password.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '*****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'SourceKafkaParameters' => [ + 'description' => 'The parameters for the Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the Kafka instance.', 'type' => 'string', 'example' => 'i-2ze6kiwzkebf04s5h8ds', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The ID of the consumer group that subscribes to the topic.', 'type' => 'string', 'example' => 'test-gid', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'example' => 'topic_api_1674441611897', 'title' => ''], + 'OffsetReset' => ['description' => 'The position from which to start consumption if no offset is stored. For example, `earliest`.', 'type' => 'string', 'example' => 'earliest', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'MaximumTasks' => ['description' => 'The concurrent quota (number of consumers).', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values: `Default` (default network) and `PublicNetwork` (self-managed network).', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-f8zatts5g97x0j***', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'example' => 'vpc-bp1kz3ohhzgrau2***', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch IDs.', 'type' => 'string', 'example' => 'vsw-bp1hcrxq3mkcik***e', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'Data' => [ - 'description' => 'The metric data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The metric data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '$.data', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: JSAONPATH.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'JSAONPATH', - ], - 'Template' => [ - 'description' => 'The template based on which you want to transform events.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, - ], - 'NetworkType' => [ - 'description' => 'The network type.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The network type.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrivateNetwork' => 'PrivateNetwork', - 'PublicNetwork' => 'PublicNetwork', + 'SourceScheduledEventParameters' => [ + 'description' => 'The parameters for the scheduled event source.', + 'type' => 'object', + 'properties' => [ + 'Schedule' => ['description' => 'The cron expression.', 'type' => 'string', 'example' => '0 1 * * * *', 'title' => ''], + 'TimeZone' => ['description' => 'The time zone for the cron expression.', 'type' => 'string', 'example' => 'GMT+0:00', 'title' => ''], + 'UserData' => ['description' => 'A JSON string.', 'type' => 'string', 'example' => '{"a": "b"}', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'example' => 'PrivateNetwork', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', + 'SourceOSSEventParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => ['description' => 'The event type.', 'type' => 'string', 'title' => '', 'example' => ''], + 'description' => 'The list of event types.', + 'title' => '', + 'example' => '', + ], + 'StsRoleArn' => ['description' => 'The ARN of the Security Token Service (STS) role.', 'type' => 'string', 'title' => '', 'example' => ''], + 'MatchRules' => ['description' => 'The matching rules.', 'type' => 'any', 'title' => '', 'example' => ''], + ], + 'description' => 'The parameters for the Object Storage Service (OSS) event source.', + 'title' => '', + 'example' => '', ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'VpcId' => [ - 'description' => 'The ID of the VPC to which the Managed Service for Prometheus instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the VPC to which the Managed Service for Prometheus instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2ze7u5i17mbqtx1p****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code:'."\n" + ."\n" + .'- `Success`: The call was successful.'."\n" + ."\n" + .'- Other values indicate an error. For more information about error codes, see Error Codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. A value of `true` indicates success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"5169654A-7059-57E3-BFD9-33C7E012****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"Total\\": 18,\\n \\"EventSourceList\\": [\\n {\\n \\"Name\\": \\"rocketmq.source\\",\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Status\\": \\"Activated\\",\\n \\"Type\\": \\"UserDefined\\",\\n \\"Ctime\\": 1607071602000,\\n \\"ExternalSourceType\\": \\"RabbitMQ\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"SourceMNSParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"QueueName\\": \\"queue.openapi-sign-callback\\",\\n \\"IsBase64Decode\\": true\\n },\\n \\"SourceRocketMQParameters\\": {\\n \\"RegionId\\": \\"cn-shenzhen\\",\\n \\"InstanceId\\": \\"bastionhost-cn-7mz293s9d1p\\",\\n \\"Topic\\": \\"migration_instance\\",\\n \\"Tag\\": \\"dataact\\",\\n \\"Offset\\": \\"CONSUMEFROMLASTOFFSET\\",\\n \\"Timestamp\\": 1664591760,\\n \\"GroupId\\": \\"GID-test\\",\\n \\"InstanceType\\": \\"CLOUD_5\\",\\n \\"InstanceNetwork\\": \\"PublicNetwork\\",\\n \\"InstanceVpcId\\": \\"vpc-***\\",\\n \\"InstanceVSwitchIds\\": \\"vsw-bp1iu***\\",\\n \\"InstanceSecurityGroupId\\": \\"eb-167adad548***\\",\\n \\"AuthType\\": \\"ACL\\",\\n \\"InstanceEndpoint\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com\\",\\n \\"InstanceUsername\\": \\"root\\",\\n \\"InstancePassword\\": \\"***\\"\\n },\\n \\"SourceRabbitMQParameters\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceId\\": \\"bastionhost-cn-0ju2x28fj07\\",\\n \\"VirtualHostName\\": \\"eb-connect\\",\\n \\"QueueName\\": \\"file-upload-queue\\"\\n },\\n \\"SourceSLSParameters\\": {\\n \\"Project\\": \\"VideoTestProject\\",\\n \\"LogStore\\": \\"cloudfirewall-logstore\\",\\n \\"ConsumePosition\\": \\"end\\",\\n \\"RoleName\\": \\"testRole\\"\\n },\\n \\"SourceHttpEventParameters\\": {\\n \\"Type\\": \\"HTTPS\\",\\n \\"Method\\": [\\n \\"GET\\"\\n ],\\n \\"SecurityConfig\\": \\"none\\",\\n \\"Ip\\": [\\n \\"8.212.139.16/32\\"\\n ],\\n \\"Referer\\": [\\n \\"aliyundoc.com\\\\t\\"\\n ],\\n \\"PublicWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou.aliyuncs.com/webhook/putEvents?token=***\\"\\n ],\\n \\"VpcWebHookUrl\\": [\\n \\"http://***.eventbridge.cn-hangzhou-vpc.aliyuncs.com/webhook/putEvents?token=0f6705c9253540e1a53e06db011a25b52068562ca50d4818828fffd61c5af***\\"\\n ]\\n },\\n \\"SourceKafkaParameters\\": {\\n \\"InstanceId\\": \\"i-2ze6kiwzkebf04s5h8ds\\",\\n \\"ConsumerGroup\\": \\"test-gid\\",\\n \\"Topic\\": \\"topic_api_1674441611897\\",\\n \\"OffsetReset\\": \\"earliest\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MaximumTasks\\": 2,\\n \\"Network\\": \\"Default\\",\\n \\"SecurityGroupId\\": \\"sg-f8zatts5g97x0j***\\",\\n \\"VpcId\\": \\"vpc-bp1kz3ohhzgrau2***\\",\\n \\"VSwitchIds\\": \\"vsw-bp1hcrxq3mkcik***e\\"\\n },\\n \\"SourceScheduledEventParameters\\": {\\n \\"Schedule\\": \\"0 1 * * * *\\",\\n \\"TimeZone\\": \\"GMT+0:00\\",\\n \\"UserData\\": \\"{\\\\\\"a\\\\\\": \\\\\\"b\\\\\\"}\\"\\n },\\n \\"SourceOSSEventParameters\\": {\\n \\"EventTypes\\": [\\n \\"\\"\\n ],\\n \\"StsRoleArn\\": \\"\\",\\n \\"MatchRules\\": \\"\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListUserDefinedEventSources', + 'description' => 'Queries all custom event sources.', + 'responseParamsDescription' => 'Sample response:'."\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' => 'Response parameters changed'], + ['createdAt' => '2024-02-27T11:48:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-10-19T06:44:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-01T14:56:04.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-01T13:13:48.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-07-04T12:56:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-07-30T04:44:37.000Z', 'description' => 'Response parameters changed'], + ], + '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/*'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'PauseEventStreaming' => [ + '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' => 'The name of the event stream to be paused.', 'type' => 'string', 'required' => true, 'example' => 'rocketmq-sync'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event streaming [xxxx] not existed!'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The unique identifier generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => '72ce027c-546a-4231-9cf6-ec58766027f9', 'title' => ''], + 'Code' => ['description' => 'The response code. Success: The request was successful. Other: An error code is returned. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. The value true indicates success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Pauses a running event stream', + 'summary' => 'Pauses a running event stream.', + 'description' => 'Pauses a running event stream.', + 'changeSet' => [ + ['createdAt' => '2024-03-14T07:20:56.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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"}]', + 'translator' => 'machine', + ], + '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' => '', 'description' => 'The name of the agent.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'demo-luma-agent'], + ], + [ + 'name' => 'MessageId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The message ID.', 'type' => 'string', 'required' => true, 'example' => 'msg_xxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Agent with name \'xxx\' not found for account 1186xxx', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => 'A995F07C-E503-XXXXXX-9CECA8566876', 'title' => ''], + 'Data' => ['description' => 'The returned data.', '$ref' => '#/components/schemas/AskLumaResult', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + .'- Success: The operation was successful.'."\n" + .'- Other values: An error code was returned. For more information, see error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Poll askLuma execution results', + 'summary' => 'Polls for natural language query results.', + 'extraInfo' => '- The server holds the connection and waits. The client retry interval can be 0 to 500 ms without backoff.'."\n" + .'- When RUNNING is returned, the client should retry immediately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:PollAskResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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' => [ + 'summary' => 'Create or update event targets for the specified rule.', + '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' => 'The name of the event bus.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eventTest', 'title' => ''], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ssr-send-to-vendor-test01'."\n", 'title' => ''], + ], + [ + 'name' => 'Targets', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'A list of event targets to create or update. For more information, see [Limits](~~163289~~).', + 'type' => 'array', + 'items' => [ + 'description' => 'An event target.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The custom ID of the event target.', 'type' => 'string', 'required' => true, 'example' => 'Mlm123456JHd2RsRoKw', 'title' => ''], + 'Type' => ['description' => 'The type of the event target. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'required' => true, 'example' => 'acs.fc.function ', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the event target.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', 'title' => ''], + 'PushRetryStrategy' => ['description' => 'The retry strategy for pushing events. Valid values:'."\n" + ."\n" + .'- **BACKOFF\\_RETRY**: The event is retried up to three times at random intervals between 10 and 20 seconds.'."\n" + ."\n" + .'- **EXPONENTIAL\\_DECAY\\_RETRY**: The event is retried up to 176 times over 24 hours. The retry interval starts at 1 second, doubles with each attempt (1, 2, 4, ..., 256 seconds), and is capped at 512 seconds for all subsequent retries.', 'type' => 'string', 'required' => false, 'example' => 'BACKOFFRETRY', 'title' => ''], + 'DeadLetterQueue' => [ + 'description' => 'The dead-letter queue (DLQ) to which events are sent after all retry attempts fail. Supported DLQ types include Message Queue for Apache RocketMQ, Message Service (MNS), Message Queue for Apache Kafka, and EventBridge.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.', 'type' => 'string', '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', 'title' => '', 'required' => false], + 'Network' => ['description' => 'The network type of the dead-letter queue.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The VSwitch IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch with which the Managed Service for Prometheus instance is associated.'."\n", + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ErrorsTolerance' => ['description' => 'The fault tolerance policy. Valid values:'."\n" + ."\n" + .'- **ALL**: Enables fault tolerance. If an error occurs, execution continues. After the retry attempts defined by the retry strategy are exhausted, the event is sent to the configured dead-letter queue or discarded.'."\n" + ."\n" + .'- **NONE**: Disables fault tolerance. If an error persists after all retry attempts fail, execution is blocked.', 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], + 'ParamList' => [ + 'description' => 'A list of parameters for the event target.', + 'type' => 'array', + 'items' => [ + 'description' => 'An event target parameter.', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the vSwitch with which the Managed Service for Prometheus instance is associated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-dwaafds****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'ResourceKey' => ['description' => 'The key of the parameter. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'required' => false, 'example' => 'body', 'title' => ''], + 'Form' => ['description' => 'The format of the parameter value. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Value' => ['description' => 'The value of the parameter.', 'type' => 'string', 'required' => false, 'example' => '{\\"key\\"=\\"value\\"}', 'title' => ''], + 'Template' => ['description' => 'The template for the parameter value. This parameter applies only when `Form` is set to `TEMPLATE`.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}! ', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group to which the Managed Service for Prometheus instance belongs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The ID of the security group to which the Managed Service for Prometheus instance belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-mw43*****', - ], - 'Form' => [ - 'description' => 'The method that you want to use to transform events. Default value: CONSTANT.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - ], - 'Template' => [ - 'description' => 'None.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - 'required' => false, + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ConcurrentConfig' => [ + 'description' => 'The concurrency control settings.', + 'type' => 'object', + 'properties' => [ + 'Concurrency' => ['description' => 'The maximum number of concurrent executions for the event target.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '34', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], - 'SinkCustomizedKafkaParameters' => [ - 'description' => '', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event rule not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160'."\n", 'title' => ''], + 'Data' => [ + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', + 'ErrorEntriesCount' => ['description' => 'The number of event targets that failed to be processed. A value of 0 indicates that all event targets were processed successfully.'."\n" + ."\n" + .'-'."\n" + ."\n" + .'-', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ErrorEntries' => [ + 'description' => 'Details about the event targets that failed to be processed.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details about a failed event target.', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => ['description' => 'The description of the error.', 'type' => 'string', 'example' => 'The id of event target is duplicate!', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'EventRuleTargetIdDuplicate', 'title' => ''], + 'EntryId' => ['description' => 'The ID of the failed event target.', 'type' => 'string', 'example' => 'Mlm123456JHd2RsRoKw', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkCustomizedKafkaConnectorParameters' => [ - 'description' => '', + 'Code' => ['description' => 'The response code.'."\n" + ."\n" + .'- Success: The request was successful.'."\n" + ."\n" + .'- Other values indicate an error. For details, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"6FB52207-7621-5292-BDF2-A17E2E984160\\\\n\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"Mlm123456JHd2RsRoKw\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'PutTargets', + 'description' => 'Creates or updates event targets for a specified rule.', + 'changeSet' => [ + ['createdAt' => '2025-05-27T06:50:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-25T13:03:07.000Z', 'description' => 'Request parameters changed'], + ], + '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}'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'QueryAskLumaLog' => [ + 'summary' => 'Queries the history logs of natural language queries.', + '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' => '', 'description' => 'The agent name. If this parameter is not specified, logs of all agents are queried.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'minLength' => 2, 'example' => 'demo-luma-agent'], + ], + [ + 'name' => 'After', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The cursor. Set this parameter to the messageId of the last entry on the previous page.', 'type' => 'string', 'required' => false, 'example' => 'eyJ0cyI6MTcxN...'], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The number of entries to return. Default value: 20. Maximum value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'AgentNotFound', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160', 'title' => ''], + 'Data' => ['description' => 'The returned result.', '$ref' => '#/components/schemas/QueryAskLumaLogResult', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'200: success. '."\n" + ."\n" + .'Other values: error code. For more information, see error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Query agent invocation logs', + 'responseParamsDescription' => 'Supplementary description of Content.MessageAttachments:'."\n" + .' - This field is included only in records where Source=CHAT (message list in AGUI format).'."\n" + .' - For records where Source=MCP, this field is null and is not included in JSON serialization output.', + 'extraInfo' => '- Invocation records from both MCP (mcp_task table) and CHAT (response table) sources are merged and sorted in descending order by CreatedAt.'."\n" + .'- The cursor is an opaque base64url-encoded string.'."\n" + .'- Query logs are retained for 30 days.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:QueryAskLumaLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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\\": false\\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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demo', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', 'title' => ''], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event source.'."\n" + ."\n" + .'* This parameter is required if you query the system event bus.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testEventSourceName', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '580A938B-6107-586C-8EC7-F22EEBEDA9E6', 'title' => ''], + 'Data' => ['description' => 'The content of the event.'."\n", 'type' => 'object', 'title' => '', 'example' => ''], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'200: The request was successful.'."\n" + ."\n" + .'Other values indicate that the request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryEvent', + 'summary' => 'Queries the content of an event.', + 'description' => 'You can call this API operation to query the content of an event.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-11-07T07:03:15.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:QueryEvent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], + ], + 'responseParamsDescription' => 'HTTP/1.1 200 OK Server: AliyunEventBridge Connection: keep-alive Content-Type: application/json;charset=utf-8 Content-Length: 279 x-eventbridge-request-id: 5E9A9081333245F1D800\\*\\*\\*\\* Date: Sat, 18 Apr 2020 08:30:42 GMT'."\n" + ."\n" + .'{ "EventBusName": "simpleBus", "EventMap": { "a5074581-7e74-4e4c-868f-47e7afdf\\*\\*\\*\\*": "{"id":"a5074581-7e74-4e4c-868f-47e7afdf\\*\\*\\*\\*","source":"testSource","specversion":"1.0","type":"eventbridge:Events:HTTPEvent","datacontenttype":"application/json","subject":"acs:eventbridge:cn-zhangjiakou:123456789098\\*\\*\\*\\*:eventbus/testBus/eventsource/testSource","time":"2020-04-18T08:30:41.006+08:00","aliyunaccountid":"123456789098\\*\\*\\*\\*","aliyunpublishtime":"2020-04-18T08:30:13.061Z","aliyunoriginalaccountid":"123456789098\\*\\*\\*\\*","aliyuneventbusname":"simpleBus","aliyunregionid":"cn-hangzhou","aliyunpublishaddr":"10.120.*.*","data":{"content":"test"}" } }'."\n", + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'QueryEventHouse' => [ + 'summary' => 'Query event store data', + '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' => 'The query statement. Typically uses a three-part table name in the format catalog.namespace.table.', 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM "test-es"."default"."product_info"', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of rows to return. If a LIMIT clause is already specified in the SQL statement, the SQL\'s own LIMIT takes precedence.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx', 'title' => ''], + 'RequestId' => ['description' => 'The unique identifier generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => 'f2099962-1628-45f1-9782-2bf6daad823f', 'title' => ''], + 'Data' => [ + 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ - 'ConnectorPackageUrl' => [ - 'description' => '', - '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' => '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" - .' }', + 'Rows' => [ + 'description' => 'The list of query result rows.', + 'type' => 'array', + 'items' => ['description' => 'A query result row.', '$ref' => '#/components/schemas/Row', '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" + .'}', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'Total' => ['description' => 'The number of rows returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkDashVectorParameters' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vrs-cn-lbj3ru1***', - 'title' => '实例id', - ], - 'Collection' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'collection1', - 'title' => 'Collection名称', - ], - 'ApiKey' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Q34nExQH7sQ****', - 'title' => '密钥', - ], - 'Operation' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Delete' => 'Delete', - 'Upsert' => 'Upsert', - ], - 'example' => 'Upsert', - 'title' => '操作类型,支持Upsert/Delete', - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrivateNetwork' => 'PrivateNetwork', - 'PublicNetwork' => 'PublicNetwork', - ], - 'example' => 'PublicNetwork', - 'title' => '网络类型', - ], - 'PrimaryKeyId' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'TEMPLATE' => 'TEMPLATE', - ], - 'example' => 'JSONPATH', - 'title' => 'Form', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '$.data.requestId', - 'title' => 'Value', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '${ID}', - 'title' => 'Template', - ], - ], - 'required' => false, - 'title' => '主键事件内容转换', - ], - 'Partition' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - ], - 'example' => 'CONSTANT', - 'title' => 'Form', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - 'title' => 'Value', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '${partition}', - 'title' => 'Template', - ], - ], - 'required' => false, - 'title' => '分区事件内容转换', - ], - 'Vector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - ], - 'example' => 'JSONPATH', - 'title' => 'Form', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '$.data.messageBody', - 'title' => 'Value', - ], - 'Template' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '${vector}', - 'title' => 'Template', - ], - ], - 'required' => false, - 'title' => '向量', - ], - 'DashVectorSchemaParameters' => [ - 'description' => '', - 'type' => 'array', - 'properties' => [ - 'Form' => [ - 'name' => 'Form', + 'Code' => ['description' => 'The response code. Success: indicates that the request was successful. Other values: indicate error codes. For details about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query event store', + '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"}]', + 'translator' => 'machine', + ], + 'QueryEventTraces' => [ + 'summary' => 'Queries event traces.', + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF', 'title' => ''], + 'Data' => [ + 'description' => 'The name of the event source.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => 'The type of the event trace. Valid values: PutEvent, FilterEvent, and PushEvent. The value PutEvent indicates that the event was delivered. The value FilterEvent indicates that the event was filtered. The value PushEvent indicates that the event was pushed.'."\n", 'type' => 'string', 'example' => 'PutEvent', 'title' => ''], + 'ReceivedTime' => ['description' => 'The time when the event was delivered to the event bus. This parameter is returned only if Action is set to PutEvent.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1659495343896', 'title' => ''], + 'RuleMatchingTime' => ['description' => 'The time when the event rule was matched. This parameter is returned only if Action is set to FilterEvent.'."\n", 'type' => 'string', 'example' => '1659495343896', 'title' => ''], + 'ActionTime' => ['description' => 'The execution time of the event trace.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1659495343896', 'title' => ''], + 'NotifyStatus' => ['description' => 'The delivery status.'."\n", 'type' => 'string', 'example' => '[200]Ok', 'title' => ''], + 'RuleName' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'example' => 'ramrolechange-mns', 'title' => ''], + 'EventId' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'example' => 'a5747e4f-2af2-40b6-b262-d0140e995bf7', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'Endpoint' => ['description' => 'The endpoint of the event target. This parameter is returned only if Action is set to PushEvent.'."\n", 'type' => 'string', 'example' => 'acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue', 'title' => ''], + 'NotifyLatency' => ['description' => 'The delay period for which the event was delivered to the event target. This parameter is returned only if Action is set to PushEvent.'."\n", 'type' => 'string', 'example' => '80', 'title' => ''], + 'NotifyTime' => ['description' => 'The time when the event was delivered to the event target. This parameter is returned only if Action is set to PushEvent.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1659495343896', 'title' => ''], + 'EventSource' => ['description' => 'The name of the event source.'."\n", 'type' => 'string', 'example' => 'cert-api', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'200: The request was successful.'."\n" + ."\n" + .'Other codes: The request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request is successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF\\",\\n \\"Data\\": [\\n {\\n \\"Action\\": \\"PutEvent\\",\\n \\"ReceivedTime\\": 1659495343896,\\n \\"RuleMatchingTime\\": \\"1659495343896\\",\\n \\"ActionTime\\": 1659495343896,\\n \\"NotifyStatus\\": \\"[200]Ok\\",\\n \\"RuleName\\": \\"ramrolechange-mns\\",\\n \\"EventId\\": \\"a5747e4f-2af2-40b6-b262-d0140e995bf7\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"Endpoint\\": \\"acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue\\",\\n \\"NotifyLatency\\": \\"80\\",\\n \\"NotifyTime\\": 1659495343896,\\n \\"EventSource\\": \\"cert-api\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryEventTraces', + 'description' => 'You can call this API operation to query event traces.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:QueryEventTraces', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'demo', 'title' => ''], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event source.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'mse', 'title' => ''], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A5D7B9F4-BF96-51A9-90B1-928955FABB5B', 'title' => ''], + 'Data' => [ + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NextToken' => ['description' => 'If excess return values exist, this parameter is returned.'."\n", 'type' => 'string', 'example' => '1000', 'title' => ''], + 'Events' => [ + 'description' => 'The events.'."\n", + 'type' => 'array', + 'items' => [ 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'JSONPATH' => 'JSONPATH', - 'CONSTANT' => 'CONSTANT', - 'TEMPLATE' => 'TEMPLATE', + 'type' => 'object', + 'properties' => [ + 'EventId' => ['description' => 'The event ID.'."\n", 'type' => 'string', 'example' => '37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'example' => 'default', 'title' => ''], + 'EventReceivedTime' => ['description' => 'The time when the event was delivered to the event bus.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1661773573100', 'title' => ''], + 'EventSource' => ['description' => 'The name of the event source.'."\n", 'type' => 'string', 'example' => 'cert-api', 'title' => ''], + 'EventType' => ['description' => 'The event type.'."\n", 'type' => 'string', 'example' => 'eventbridge:Events:HTTPEvent', 'title' => ''], ], - 'example' => 'TEMPLATE', - 'backendName' => 'Form', - ], - 'Value' => [ - 'name' => 'Value', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "value1":"v1",'."\n" - .' "value2":"v2"'."\n" - .'}', - 'backendName' => 'Value', - ], - 'Template' => [ - 'name' => 'Template', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' {'."\n" - .' "name": "schema1",'."\n" - .' "type": "INT",'."\n" - .' "value": "${value1}"'."\n" - .' },'."\n" - .' {'."\n" - .' "name": "schema2",'."\n" - .' "type": "FLOAT",'."\n" - .' "value": "${value2}"'."\n" - .' }'."\n" - .']', - 'backendName' => 'Template', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'required' => false, - 'title' => '属性Schema', + 'Total' => ['description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'Success: The request was successful.'."\n" + ."\n" + .'Other codes: The request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"A5D7B9F4-BF96-51A9-90B1-928955FABB5B\\",\\n \\"Data\\": [\\n {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"cert-api\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 18\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryTracedEventByEventId', + 'summary' => 'Queries event traces by event ID.', + 'description' => 'You can call this API operation to query event traces by event ID.'."\n", + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:QueryTracedEventByEventId', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'QueryTracedEvents' => [ + 'summary' => 'This operation queries `event trace` data within a `time range`.', + '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' => 'The name of the event bus.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyEventBus', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range for the query, specified as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1661773509000', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range for the query, specified as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1661773509000', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return per page. Use this parameter with NextToken to paginate the results.>The maximum value is 100.>', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token for retrieving the next page of results. It is returned in the response to a previous request if more results are available.', 'type' => 'string', 'required' => false, 'example' => '1000', 'title' => ''], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event source.', 'type' => 'string', 'required' => false, 'example' => 'mse', 'title' => ''], + ], + [ + 'name' => 'Subject', + 'in' => 'query', + 'schema' => ['description' => 'The event subject.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => ['description' => 'The event type.', 'type' => 'string', 'required' => false, 'example' => 'eventbridge:Events:HTTPEvent', 'title' => ''], + ], + [ + 'name' => 'MatchedRule', + 'in' => 'query', + 'schema' => ['description' => 'The name of the matched rule.', 'type' => 'string', 'required' => false, 'example' => 'test-mnsrule', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'EventBusNotExist', 'title' => ''], + 'RequestId' => ['description' => 'The request ID generated by Alibaba Cloud.', 'type' => 'string', 'example' => 'd9e4628b-8b34-4f33-82be-5aac50aac0ba', 'title' => ''], + 'Data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'NextToken' => ['description' => 'The token to retrieve the next page of results. This parameter is returned only if more results are available.', 'type' => 'string', 'example' => '1000', 'title' => ''], + 'Events' => [ + 'description' => 'An array of event objects.', + 'type' => 'array', 'items' => [ - 'title' => '属性列', + 'description' => 'Details for a single event.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '属性名', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'title' => 'Form', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'title' => 'Value', - 'type' => 'string', - 'example' => 'content', - ], - 'Template' => [ - 'title' => 'Template', - 'type' => 'string', - 'example' => ' ', - ], - ], - ], - 'Type' => [ - 'title' => 'DashVector属性类型', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'title' => 'Form', - 'type' => 'string', - 'example' => 'CONSTANT', - ], - 'Value' => [ - 'title' => 'Value', - 'type' => 'string', - 'example' => 'STRING', - ], - 'Template' => [ - 'title' => 'Template', - 'type' => 'string', - 'example' => ' ', - ], - ], - ], - 'Value' => [ - 'title' => '属性值', - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'title' => 'Form', - 'type' => 'string', - 'example' => 'JSONPATH', - ], - 'Value' => [ - 'title' => 'Value', - 'type' => 'string', - 'example' => '$.data.content', - ], - 'Template' => [ - 'title' => 'Template', - 'type' => 'string', - 'example' => '${content}', - ], - ], - ], + 'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '07E-1OCckaVzNB92BIFFh4xgydOF1wd', 'title' => ''], + 'EventBusName' => ['description' => 'The name of the event bus.', 'type' => 'string', 'example' => 'test-custom-bus', 'title' => ''], + 'EventReceivedTime' => ['description' => 'The UNIX timestamp (in milliseconds) when the event was delivered to the event bus.', 'type' => 'integer', 'format' => 'int64', 'example' => '1661773573100', 'title' => ''], + 'EventSource' => ['description' => 'The name of the event source.', 'type' => 'string', 'example' => 'acs.resourcemanager', 'title' => ''], + 'EventType' => ['description' => 'The event type.', 'type' => 'string', 'example' => 'eventbridge:Events:HTTPEvent', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'Total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Code' => ['description' => 'The response code.'."\n" + ."\n" + .'- `Success`: The request succeeded.'."\n" + ."\n" + .'- Other values indicate an error. For more information, see error codes.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Success' => ['description' => '`true` indicates that the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d9e4628b-8b34-4f33-82be-5aac50aac0ba\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"07E-1OCckaVzNB92BIFFh4xgydOF1wd\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"acs.resourcemanager\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 6\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryTracedEvents', + 'description' => 'Queries for event traces within a specified time range.', + '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}'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + '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' => 'The name of the event stream to enable.', 'type' => 'string', 'required' => true, 'example' => 'rocketmq-sync'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The event streaming [xxxx] not existed!'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The unique identifier generated by Alibaba Cloud for the request.', 'type' => 'string', 'example' => '8CEAD24D-328D-5539-9D30-FD2D33204FBB', 'title' => ''], + 'Code' => ['description' => 'The response code. Success: The request was successful. Other codes: The request failed. For more information about error codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. The value true indicates that the operation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Enables a created or disabled event stream', + 'summary' => 'Enables a created or disabled event stream.', + 'description' => 'Enables a created or disabled event stream.', + 'changeSet' => [ + ['createdAt' => '2024-02-01T06:13:09.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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"}]', + 'translator' => 'machine', + ], + 'TestEventPattern' => [ + 'summary' => 'Tests if an event pattern matches a given event.', + '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' => 'The event to test, which must be a JSON string.', '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" + .'}', 'title' => ''], + ], + [ + 'name' => 'EventPattern', + 'in' => 'formData', + 'schema' => ['description' => 'The event pattern to test, which must be a JSON string.', 'type' => 'string', 'required' => true, 'example' => '{"key1": "value1"}', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E1706BB1'], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => ''], + 'Code' => ['description' => 'The return code. `Success` indicates that the call was successful. For more information about other return codes, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates if the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => [ + 'description' => 'The result of the test.', + 'type' => 'object', + 'properties' => [ + 'Result' => ['description' => 'Indicates if the event matches the event pattern.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E1706BB1\\",\\n \\"Message\\": \\"\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Result\\": true\\n }\\n}","type":"json"}]', + 'title' => 'TestEventPattern', + 'description' => 'Use this action to test an event pattern before you apply it to a rule.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TestEventPattern'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'TestEventSourceConfig' => [ + 'summary' => 'Checks whether the event source configuration is active.', + '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' => 'The parameters for the MySQL source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'HostName' => ['description' => 'The database endpoint.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp1vxxx.mysql.rds.aliyuncs.com', 'title' => ''], + 'Port' => ['description' => 'The database connection port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + 'DatabaseName' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'database1', 'title' => ''], + 'TableNames' => ['description' => 'The table name. The name must be prefixed with the database name in the ${DatabaseName}.${TableName} format.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'database1.table1'."\n"], + 'User' => ['description' => 'The username for the database.', 'type' => 'string', 'required' => false, 'example' => 'user***', 'title' => ''], + 'Password' => ['description' => 'The password for the specified username.', 'type' => 'string', 'required' => false, 'example' => '1234xxx', 'title' => ''], + 'NetworkType' => [ + 'description' => 'The network type.', + 'enumValueTitles' => ['PrivateNetwork' => 'The private network.', 'PublicNetwork' => 'The public network.'], + 'type' => 'string', 'required' => false, - 'title' => 'DashVector目标参数', + 'example' => 'PrivateNetwork', + 'title' => '', ], - 'SinkOpenSourceRabbitMQParameters' => [ - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - 'VirtualHostName' => [ - 'type' => 'string', - 'required' => false, - ], - 'TargetType' => [ - 'type' => 'string', - 'required' => false, - ], - 'Exchange' => [ - 'type' => 'string', - 'required' => false, - ], - 'QueueName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Username' => [ - 'type' => 'string', - 'required' => false, - ], - 'Password' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'NetworkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'AuthType' => [ - 'type' => 'string', - 'required' => false, - ], - 'RoutingKey' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Body' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'MessageId' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'Properties' => [ - 'type' => 'object', - 'properties' => [ - 'Form' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Template' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-xxx', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch IDs.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1gb7xxx', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-xxx', 'title' => ''], + 'AllowedCIDRs' => ['description' => 'The list of allowed CIDR blocks.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => ''], + 'SnapshotMode' => ['description' => 'The snapshot mode.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The response code.'."\n" + ."\n" + .'- `Success`: The request succeeded.'."\n" + ."\n" + .'- Other values indicate an error code. For more information, see error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Data' => [ + 'description' => 'The results of the configuration check.', + 'type' => 'array', + 'items' => [ + 'description' => 'An array of objects, where each object represents the result of a single check item.', + 'type' => 'object', + 'properties' => [ + 'CheckItem' => ['description' => 'The name of the check item.', 'type' => 'string', 'example' => 'CHECK_CONNECTION', 'title' => ''], + 'ErrorMsg' => ['description' => 'The message describing the result of the check item.', 'type' => 'string', 'example' => 'Connection established successfully.', 'title' => ''], + 'IsSucceed' => ['description' => 'Indicates whether the check item executed successfully.', 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'title' => '', + 'example' => '', ], - 'SinkBaiLianParameters' => [ + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'RequestId' => ['description' => 'The unique identifier generated by Alibaba Cloud for the request. This ID is required for troubleshooting.', 'type' => 'string', 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request succeeded. A value of `true` indicates success.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": [\\n {\\n \\"CheckItem\\": \\"CHECK_CONNECTION\\",\\n \\"ErrorMsg\\": \\"Connection established successfully.\\",\\n \\"IsSucceed\\": \\"true\\"\\n }\\n ],\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'TestEventSourceConfig', + 'description' => 'Returns a list of all external event sources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:TestEventSourceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + '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' => 'The name of the agent.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'my-agent', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the event source.', 'type' => 'string', 'required' => false, 'example' => 'MNS的过滤规则', 'title' => ''], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => ['description' => 'You are an IoT data analytics assistant...', 'type' => 'string', 'required' => false, 'example' => '瑞士冻结马杜罗在瑞资产', 'title' => ''], + ], + [ + 'name' => 'Metadata', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The associated metadata.', + 'type' => 'object', + 'properties' => [ + 'Attachments' => [ + 'description' => 'The attached metadata objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'The array of attached metadata objects.', + 'type' => 'object', + 'properties' => [ + 'MimeType' => ['description' => 'The object type of the attached metadata.', 'type' => 'string', 'required' => false, 'example' => 'inner-resource/event-table', 'title' => ''], + 'Arn' => ['description' => 'The ARN of the attached metadata object.', 'type' => 'string', 'required' => false, 'example' => 'acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - '$ref' => '#/components/schemas/SinkBaiLianParameters', - ], - 'SinkDataWorksTriggerParameters' => [ - '$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', - ], - 'SinkHttpsParameters' => [ - '$ref' => '#/components/schemas/SinkHttpsParameters', - ], - 'SinkApiDestinationParameters' => [ - '$ref' => '#/components/schemas/SinkApiDestinationParameters', - ], - 'SinkOSSParameters' => [ - '$ref' => '#/components/schemas/SinkOSSParameters', - ], - 'SinkRabbitMQMetaParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', - ], - 'SinkRabbitMQMsgSyncParameters' => [ - '$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', + 'title' => '', + 'example' => '', ], - 'SinkMQTTParameters' => [ - '$ref' => '#/components/schemas/SinkMQTTParameters', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['description' => 'The client-generated request token. Used to ensure idempotence of the request. Note: This parameter value is generated by the client and must be unique across different requests. The maximum length is 64 ASCII characters.', 'type' => 'string', 'required' => false, 'example' => 'TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'InvalidArgument', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '382E6272-XXXXX-A8AF0BFAC1A5', 'title' => ''], + 'Data' => [ + 'description' => 'Indicates whether the operation was successful.', + 'type' => 'object', + 'properties' => [ + 'AgentArn' => ['description' => 'Agent ARN', 'type' => 'string', 'example' => 'acs:eventbridge:{region}:{accountId}:agent/{agentName} ', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + .'- Success: The operation was successful. '."\n" + .'- Other values: An error code was returned. For more information, see error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Update a custom agent', + 'summary' => 'Updates a custom agent.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:UpdateAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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' => 'The description of the API destination. The description can be up to 255 characters in length.', 'type' => 'string', 'required' => false, 'maxLength' => 255, 'example' => 'demo', 'title' => ''], + ], + [ + 'name' => 'ApiDestinationName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the API destination. The name must be 2 to 127 characters in length.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maxLength' => 127, 'minLength' => 2, 'example' => 'api-destination-name', 'title' => ''], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the connection. The name must be 2 to 127 characters in length.'."\n" + ."\n" + .'Note: Before you configure this parameter, you must call the CreateConnection operation to create a connection. Then, set this parameter to the name of the connection that you created.', 'type' => 'string', 'required' => false, 'maxLength' => 127, 'minLength' => 2, 'example' => 'connection-name', 'title' => ''], + ], + [ + 'name' => 'HttpApiParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are configured for the API destination.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint of the API destination. The endpoint can be up to 127 characters in length.', 'type' => 'string', 'required' => false, 'maxLength' => 511, 'example' => 'http://127.0.0.1:8001/api', 'title' => ''], + 'Method' => ['description' => 'The HTTP request method. Valid values:'."\n" + ."\n" + .'- GET'."\n" + ."\n" + .'- POST'."\n" + ."\n" + .'- HEAD'."\n" + ."\n" + .'- DELETE'."\n" + ."\n" + .'- PUT'."\n" + ."\n" + .'- PATCH', 'type' => 'string', 'required' => false, 'example' => 'POST', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', 'title' => ''], + 'Message' => ['description' => 'The returned message. If the request is successful, success is returned.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The response code. If the request is successful, Success is returned.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'ApiDestinationName' => ['description' => 'api-destination-name', 'type' => 'string', 'example' => 'api-destination-name', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'UpdateApiDestination', + 'summary' => 'Updates an API destination.', + 'description' => 'You can call this API operation to update an API destination.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:17.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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"}]', + 'translator' => 'manual', + ], + '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' => 'The name of the connection to be updated. The maximum length is 127 characters. The minimum length is 2 characters.', 'type' => 'string', 'required' => true, 'maxLength' => 127, 'minLength' => 2, 'example' => 'connection-name', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description. The maximum length is 255 characters.', 'type' => 'string', 'maxLength' => 255, 'required' => false, 'example' => 'Description of the connection configuration', 'title' => ''], + ], + [ + 'name' => 'NetworkParameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The data structure of the network configuration.', + 'type' => 'object', + 'properties' => [ + 'NetworkType' => ['description' => '- Public network: PublicNetwork'."\n" + ."\n" + .'- Virtual Private Cloud (VPC): PrivateNetwork'."\n" + ."\n\n" + .'> When you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.', 'type' => 'string', 'required' => true, 'example' => 'PublicNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'eb-test/vpc-bp1symadadwnwgmqud'."\n", 'title' => ''], + 'VswitcheId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The ID of the security group.', 'type' => 'string', 'required' => false, 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', 'title' => ''], ], 'required' => true, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RunOptions', - 'in' => 'formData', + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, and Http.', 'type' => 'string', 'required' => false, 'example' => 'Http', 'title' => ''], + ], + [ + 'name' => 'Parameters', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['description' => 'The data source connection parameters (JSON object). For specific field definitions, call the GetConnectionType API and refer to the ParamsSchema in the response.', 'type' => 'any', 'example' => '{"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}', 'title' => ''], + ], + [ + 'name' => 'AuthParameters', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The parameters that are configured for the runtime environment.'."\n", + 'description' => 'The data structure of the authentication parameters.', 'type' => 'object', 'properties' => [ - 'MaximumTasks' => [ - 'title' => '并发数', - 'description' => 'The maximum number of concurrent tasks.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'ErrorsTolerance' => [ - 'title' => '异常容忍策略:NONE(不容忍异常)、ALL(容忍所有异常)', - 'description' => 'The exception tolerance policy. Valid values:'."\n" - ."\n" - .'* NONE: does not tolerate exceptions.'."\n" - .'* ALL: tolerates all exceptions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ALL', - ], - 'RetryStrategy' => [ - 'description' => 'The retry policy that you want to use if events fail to be pushed.'."\n", - 'type' => 'object', - 'properties' => [ - 'PushRetryStrategy' => [ - 'title' => '重试策略:BACKOFF_RETRY(退避重试)和EXPONENTIAL_DECAY_RETRY(指数衰减重试)', - 'description' => 'The retry policy. Valid values:'."\n" - ."\n" - .'* BACKOFF_RETRY'."\n" - .'* EXPONENTIAL_DECAY_RETRY'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BACKOFFRETRY', - ], - 'MaximumEventAgeInSeconds' => [ - 'title' => '最大重试时间', - 'description' => 'The maximum timeout period for a retry.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '512', - ], - 'MaximumRetryAttempts' => [ - 'title' => '最大重试次数', - 'description' => 'The maximum number of retries.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - ], - 'required' => false, - ], - 'DeadLetterQueue' => [ - 'description' => 'Specifies whether to enable dead-letter queues. By default, dead-letter queues are disabled. Messages that fail to be pushed after the allowed retries as specified by the retry policy are discarded.'."\n", + 'AuthorizationType' => ['description' => 'The authentication type. Valid values:'."\n" + ."\n" + .'- BASIC: BASIC_AUTH. This authorization method is the basic authentication method implemented by browsers in compliance with the HTTP protocol. During communication using the HTTP protocol, the HTTP protocol defines basic authentication that allows the HTTP server to authenticate the user identity of the client. Add Authorization: Basic followed by one space and the Base64-encoded value of `username:password` to the request header in a fixed format. Username and Password are required.'."\n" + ."\n" + .'- API KEY: API_KEY_AUTH. Add Token: TokenValue to the request header in a fixed format. ApiKeyName and ApiKeyValue are required.'."\n" + ."\n" + .'- OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. In normal cases, in a system that does not use an authorization mechanism such as OAuth 2.0, the client can directly access resources on the resource server. To ensure secure data access for users, the Access Token mechanism is added between the client and the resource server. The client must carry an Access Token to access protected resources. Therefore, OAuth 2.0 prevents resources from being accessed by malicious clients, thereby improving the security of the system. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.', 'type' => 'string', 'required' => false, 'example' => 'BASIC_AUTH', 'title' => ''], + 'ApiKeyAuthParameters' => [ + 'description' => 'The data structure of API Key authentication.', 'type' => 'object', 'properties' => [ - 'Arn' => [ - 'title' => '死信队列ARN', - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:ram::1317334647812936:role/rdstoecsassumekms', - ], - 'Network' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VSwitchIds' => [ - 'type' => 'string', - 'required' => false, - ], - 'SecurityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'ApiKeyName' => ['description' => 'The key of the API Key.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'name', 'title' => ''], + 'ApiKeyValue' => ['description' => 'The value of the API Key.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'demo', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'BatchWindow' => [ - 'description' => 'The batch window.'."\n", + 'BasicAuthParameters' => [ + 'description' => 'The data structure of Basic authentication.', 'type' => 'object', 'properties' => [ - 'CountBasedWindow' => [ - 'description' => 'The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - 'TimeBasedWindow' => [ - 'description' => 'The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'Password' => ['description' => 'The password for Basic authentication.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'admin', 'title' => ''], + 'Username' => ['description' => 'The username for Basic authentication.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'admin', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'BusinessOption' => [ + 'OAuthParameters' => [ + 'description' => 'The data structure of the OAuth authentication parameters.', 'type' => 'object', 'properties' => [ - 'BusinessMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'MinCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'MaxCapacityUnitCount' => [ - 'type' => 'integer', - 'format' => 'int64', + 'AuthorizationEndpoint' => ['description' => 'The request URL for obtaining the OAuth token. The maximum length is 127 characters.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'http://localhost:8080/oauth/token', 'title' => ''], + 'ClientParameters' => [ + 'description' => 'The data structure of the client parameters.', + 'type' => 'object', + 'properties' => [ + 'ClientID' => ['description' => 'The client ID.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'ClientID', 'title' => ''], + 'ClientSecret' => ['description' => 'The client secret of the application.', 'type' => 'string', 'maxLength' => 127, 'required' => false, 'example' => 'ClientSecret', 'title' => ''], + ], 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HttpMethod' => ['description' => 'The HTTP request method. Valid values:'."\n" + ."\n" + .'- GET'."\n" + .'- POST'."\n" + .'- HEAD'."\n" + .'- DELETE'."\n" + .'- PUT'."\n" + .'- PATCH', 'type' => 'string', 'required' => false, 'example' => 'POST', 'title' => ''], + 'OAuthHttpParameters' => [ + 'description' => 'The request parameters for OAuth authentication.', + 'type' => 'object', + 'properties' => [ + 'BodyParameters' => [ + 'description' => 'The list of data structures for body request parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of body request parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the parameter is used for authentication.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the body request parameter.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the body request parameter.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HeaderParameters' => [ + 'description' => 'The list of request header parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of request header parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the parameter is used for authentication.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the request header parameter.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the request header parameter.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'QueryStringParameters' => [ + 'description' => 'The data structure of request query parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data structure of request query parameters.', + 'type' => 'object', + 'properties' => [ + 'IsValueSecret' => ['description' => 'Specifies whether the parameter is used for authentication.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + 'Key' => ['description' => 'The key of the request query parameter.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + 'Value' => ['description' => 'The value of the request query parameter.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - 'required' => false, - ], - 'Throttling' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - 'required' => false, - ], - ], - [ - 'name' => 'Transforms', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Arn' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', - ], - 'DashScopeTransformParameters' => [ - '$ref' => '#/components/schemas/DashScopeTransformParameters', - ], - 'BaiLianAgentTransformParameters' => [ - '$ref' => '#/components/schemas/BaiLianAgentTransformParameters', - ], - 'EmbeddingTransformParameters' => [ - '$ref' => '#/components/schemas/EmbeddingTransformParameters', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'Tags', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '标签列表,最多包含20个子项', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键', - 'description' => '', - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'title' => '标签值', - 'description' => '', - 'type' => 'string', - 'required' => false, - ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, ], 'required' => false, - 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'The name [xxxx] of event streaming in request is already exist!', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'EventStreamingARN' => [ - 'description' => 'The ARN of the event stream.'."\n", - 'type' => 'string', - 'example' => 'acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming', - ], - ], - ], - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The request is successful.'."\n" - .'* Other codes: The request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => '200', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8346BE8F-40F3-533D-A0B8-1359C31BD5BA', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Code' => ['description' => 'The API status code or POP error code. Description: 200 indicates success.', 'type' => 'string', 'example' => '200', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + 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' => 'Update Connection Configuration', + 'summary' => 'Updates the connection configuration.', + 'description' => 'Updates the connection configuration.', + 'changeSet' => [ + ['createdAt' => '2023-09-13T11:38:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-12T13:40:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:59.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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 \\"Message\\": \\"The name [xxxx] of event streaming in request is already exist!\\",\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C36****\\",\\n \\"Data\\": {\\n \\"EventStreamingARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CreateEventStreaming', - 'description' => 'You can call this API operation to create an event stream.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8346BE8F-40F3-533D-A0B8-1359C31BD5BA\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'UpdateApiDestination' => [ - 'summary' => 'Updates an API destination.', - 'methods' => [ - 'post', - 'get', + 'UpdateEventBus' => [ + 'summary' => 'Updates an event bus.', + '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' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eventTest', 'maxLength' => 127, 'minLength' => 2, 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'maxLength' => 255, 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The event bus [xxxx] not existed!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'f2099962-1628-45f1-9782-2bf6daad823f', 'title' => ''], + 'Code' => ['description' => 'The response code. Valid values:'."\n" + ."\n" + .'* Success: The request was successful.'."\n" + .'* Other codes: The request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"f2099962-1628-45f1-9782-2bf6daad823f\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateEventBus', + 'description' => 'You can call this operation to update an event bus.'."\n", + 'changeSet' => [ + ['createdAt' => '2023-08-01T13:13:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eventbridge:UpdateEventBus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventBus', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + ], + 'UpdateEventSource' => [ + 'summary' => 'Updates an event source.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19636,165 +14822,373 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '163678', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38634', + 'abilityTreeNodes' => ['FEATUREeventbridgeR7SE45'], ], 'parameters' => [ + [ + 'name' => 'EventSourceName', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The name of the event source.'."\n", 'type' => 'string', 'required' => true, 'example' => 'myrabbitmq.source'], + ], [ 'name' => 'Description', - 'in' => 'query', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The description of the event source.'."\n", 'type' => 'string', 'required' => false, 'example' => 'RabbitMQ event source'], + ], + [ + 'name' => 'LinkedExternalSource', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Specifies whether to connect to an external data source.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ExternalSourceType', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The type of the external data source.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SLS'], + ], + [ + 'name' => 'ExternalSourceConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['title' => '', 'description' => 'The configurations of the external data source.'."\n", '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' => 'The event bus with which the event source is associated.'."\n", 'type' => 'string', 'required' => true, 'example' => 'my-event-bus'."\n"], + ], + [ + 'name' => 'SourceMNSParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The description of the API destination. The description can be up to 255 characters in length.'."\n", - 'type' => 'string', + 'description' => 'The parameters that are configured if the event source is Message Service (MNS).'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the MNS queue resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + 'QueueName' => ['description' => 'The name of the MNS queue.'."\n", 'type' => 'string', 'required' => false, 'example' => 'queue_api_bind_1672194645178', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Indicates whether Base64 decoding is enabled. By default, Base64 decoding is enabled.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], 'required' => false, - 'example' => 'demo', - 'maxLength' => 255, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ApiDestinationName', - 'in' => 'query', + 'name' => 'SourceRocketMQParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the API destination. The name must be 2 to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'api-destination-name', - 'maxLength' => 127, - 'minLength' => 2, + 'description' => 'The parameters that are configured if the event source is Message Queue for Apache RocketMQ.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the Message Queue for Apache RocketMQ instance resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-zhangjiakou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'dbaudit-cn-i7m2nx****', 'title' => ''], + 'Topic' => ['description' => 'The name of the topic on the Message Queue for Apache RocketMQ instance. For more information, see [Limits](~~163289~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'topic_default_195820716552192', 'title' => ''], + 'Tag' => ['description' => 'The tag that is used to filter messages.'."\n", 'type' => 'string', 'required' => false, 'example' => 'KEY2', 'title' => ''], + 'Offset' => ['description' => 'The offset from which message consumption starts. Valid values:'."\n" + ."\n" + .'* CONSUME_FROM_LAST_OFFSET: Start message consumption from the latest offset.'."\n" + .'* CONSUME_FROM_FIRST_OFFSET: Start message consumption from the earliest offset.'."\n" + .'* CONSUME_FROM_TIMESTAMP: Start message consumption from the offset at the specified point in time.'."\n" + ."\n" + .'Default value: CONSUME_FROM_LAST_OFFSET.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CONSUMEFROMLASTOFFSET', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp that specifies the time from which messages are consumed. This parameter is valid only if you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1663555399032', 'title' => ''], + 'GroupID' => ['description' => 'The ID of the consumer group on the Message Queue for Apache RocketMQ instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'GID-test'."\n", 'title' => ''], + 'InstanceType' => ['description' => 'The type of the Message Queue for Apache RocketMQ instance. Valid values:'."\n" + ."\n" + .'* Cloud\\_4: Message Queue for Apache RocketMQ 4.0 instance.'."\n" + .'* Cloud\\_5: Message Queue for Apache RocketMQ 5.0 instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Cloud_4', 'title' => ''], + 'InstanceNetwork' => ['description' => 'None.'."\n", 'type' => 'string', 'required' => false, 'example' => 'None'."\n", 'title' => ''], + 'InstanceVpcId' => ['description' => 'The ID of the virtual private cloud (VPC) in which the Message Queue for Apache RocketMQ instance resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1a4gmlk31hyg6pt****', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The ID of the vSwitch with which the Message Queue for Apache RocketMQ instance is associated.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-bp10rbrt6rb6vrd89****'."\n", 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The ID of the security group to which the Message Queue for Apache RocketMQ instance belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sg-catalog-eventlistener'."\n", 'title' => ''], + 'AuthType' => ['description' => 'The authentication type. You can set this parameter to ACL or leave this parameter empty.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The endpoint that is used to access the Message Queue for Apache RocketMQ instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'registry-vpc****.aliyuncs.com'."\n", 'title' => ''], + 'InstanceUsername' => ['description' => 'The username that is used to access the Message Queue for Apache RocketMQ instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'root', 'title' => ''], + 'InstancePassword' => ['description' => 'The password that is used to access the Message Queue for Apache RocketMQ instance.'."\n", 'type' => 'string', 'required' => false, 'example' => '******', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ConnectionName', - 'in' => 'query', + 'name' => 'SourceRabbitMQParameters', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the connection. The name must be 2 to 127 characters in length.'."\n" - ."\n" - .'Note: Before you configure this parameter, you must call the CreateConnection operation to create a connection. Then, set this parameter to the name of the connection that you created.'."\n", - 'type' => 'string', + 'description' => 'The parameters that are configured if the event source is Message Queue for RabbitMQ.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The ID of the region where the Message Queue for RabbitMQ instance resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'bastionhost-cn-7mz2zky****', 'title' => ''], + 'VirtualHostName' => ['description' => 'The name of the vhost of the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'amqp-cn-nif22u74**** '."\n", 'title' => ''], + 'QueueName' => ['description' => 'The name of the queue on the Message Queue for RabbitMQ instance. For more information, see [Limits](~~163289~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'eb-connect', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceSLSParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'SourceSLSParameters'."\n", + 'type' => 'object', + 'properties' => [ + 'Project' => ['description' => 'The Log Service project.'."\n", 'type' => 'string', 'required' => false, 'example' => 'VideoTestProject', 'title' => ''], + 'LogStore' => ['description' => 'The Log Service Logstore.'."\n", 'type' => 'string', 'required' => false, 'example' => 'waf-logstore', 'title' => ''], + 'ConsumePosition' => ['description' => 'The starting consumer offset. The value begin indicates the earliest offset, and the value end indicates the latest offset. You can also specify a time in seconds to start consumption.'."\n", 'type' => 'string', 'required' => false, 'example' => 'end', 'title' => ''], + 'RoleName' => ['description' => 'The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console. For information about the permission policy of this role, see Create a custom event source of the Log Service type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'testRole', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceScheduledEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are configured if you specify scheduled events as the event source.'."\n", + 'type' => 'object', + 'properties' => [ + 'Schedule' => ['description' => 'The cron expression.'."\n", 'type' => 'string', 'required' => false, 'example' => '10 * * * * *'."\n", 'title' => ''], + 'TimeZone' => ['description' => 'The time zone in which the cron expression is executed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'GMT+0:00'."\n", 'title' => ''], + 'UserData' => ['description' => 'The user data that is displayed in a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{"a": "b"}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceHttpEventParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are configured if the event source is HTTP events.'."\n", + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The protocol type that is supported by the generated webhook URL. Valid values:'."\n" + ."\n" + .'* HTTP'."\n" + .'* HTTPS'."\n" + .'* HTTP\\&HTTPS'."\n", 'type' => 'string', 'required' => false, 'example' => 'HTTPS', 'title' => ''], + 'Method' => [ + 'description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" + ."\n" + .'* GET'."\n" + .'* POST'."\n" + .'* PUT'."\n" + .'* PATCH'."\n" + .'* DELETE'."\n" + .'* HEAD'."\n" + .'* OPTIONS'."\n" + .'* TRACE'."\n" + .'* CONNECT'."\n", + 'type' => 'array', + 'items' => ['description' => 'The HTTP request method supported by the generated webhook URL. You can select multiple values. Valid values:'."\n" + ."\n" + .'* GET'."\n" + .'* POST'."\n" + .'* PUT'."\n" + .'* PATCH'."\n" + .'* DELETE'."\n" + .'* HEAD'."\n" + .'* OPTIONS'."\n" + .'* TRACE'."\n" + .'* CONNECT'."\n", 'type' => 'string', 'required' => false, 'example' => 'GET', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityConfig' => ['description' => 'The type of security settings. Valid values:'."\n" + ."\n" + .'* none: No configuration is required.'."\n" + .'* ip: CIDR block.'."\n" + .'* referer: security domain name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'none', 'title' => ''], + 'Ip' => [ + 'description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The CIDR block that is used for security settings. This parameter is required only if SecurityConfig is set to ip. You can enter a CIDR block or an IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '47.252.126.0/24', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Referer' => [ + 'description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The security domain name. This parameter is required only if SecurityConfig is set to referer. You can enter a domain name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aliyundoc.com '."\n", 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SourceKafkaParameters', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The parameters that are configured if the event source is Message Queue for Apache Kafka.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the Message Queue for Apache Kafka instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cbwp-bp1o3m66wcjgbkssm3****', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The ID of the consumer group that subscribes to the topic.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dsp_online_ml_request', 'title' => ''], + 'Topic' => ['description' => 'The name of the topic on the Message Queue for Apache Kafka instance.'."\n", 'type' => 'string', 'required' => false, 'example' => 'billing_notify', 'title' => ''], + 'OffsetReset' => ['description' => 'The consumer offset.'."\n", 'type' => 'string', 'required' => false, 'example' => 'latest', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the Message Queue for Apache Kafka instance resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + 'MaximumTasks' => ['description' => 'The maximum number of consumers.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'Network' => ['description' => 'The network. Valid values: Default and PublicNetwork. Default value: Default. The value PublicNetwork indicates a self-managed network.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Default', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The ID of the security group to which the Message Queue for Apache Kafka instance belongs. This parameter is required only if you set Network to PublicNetwork.'."\n", 'type' => 'string', 'required' => false, 'example' => 'sg-5wz3mjgo9wpvdnwpwnhkj****', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC in which the Message Queue for Apache Kafka instance resides. This parameter is required only if you set Network to PublicNetwork.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-2zefu4vfmx6sioguj****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The ID of the vSwitch with which the Message Queue for Apache Kafka instance is associated. This parameter is required only if you set Network to PublicNetwork.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1xyntcxiwplhqxj****', 'title' => ''], + ], 'required' => false, - 'example' => 'connection-name', - 'maxLength' => 127, - 'minLength' => 2, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'HttpApiParameters', - 'in' => 'query', + 'name' => 'SourceOSSEventParameters', + 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The parameters that are configured for the API destination.'."\n", 'type' => 'object', 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the API destination. The endpoint can be up to 127 characters in length.'."\n", - 'type' => 'string', + 'EventTypes' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'description' => '', 'required' => false, - 'example' => 'http://127.0.0.1:8001/api', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], - 'Method' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'- GET'."\n" - .'- POST'."\n" - .'- HEAD'."\n" - .'- DELETE'."\n" - .'- PUT'."\n" - .'- PATCH', - 'type' => 'string', + 'StsRoleArn' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MatchRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Suffix' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MatchState' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Prefix' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Name' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', 'required' => false, - 'example' => 'POST', + 'title' => '', + 'example' => '', ], ], + 'description' => '', 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', - ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The response code. If the request is successful, Success is returned.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'ApiDestinationName' => [ - 'description' => 'api-destination-name'."\n", - 'type' => 'string', - 'example' => 'api-destination-name', - ], + 'Message' => ['description' => 'The returned error message.'."\n", 'type' => 'string', 'example' => 'Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'c057d379-ea65-41ec-a8a8-90627a9****', 'title' => ''], + 'Data' => ['description' => 'The result of the operation.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The returned response code. Valid values:'."\n" + ."\n" + .'* Success: The request is successful.'."\n" + .'* Other codes: The request failed. For more information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation is successful. The value true indicates that the operation is successful.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ApiDestinationNotExist', - 'errorMessage' => 'The api-destination not existed!', - ], - [ - 'errorCode' => 'HttpApiParametersIsNull', - 'errorMessage' => 'HttpApiParameters is null!', - ], - [ - 'errorCode' => 'EndpointIsBlank', - 'errorMessage' => 'Endpoint is blank!', - ], - [ - 'errorCode' => 'Method', - 'errorMessage' => 'Method is blank!', - ], - [ - 'errorCode' => 'EndpointLengthExceed', - 'errorMessage' => 'Endpoint length cannot exceed 127!', - ], - [ - 'errorCode' => 'ConnectionNotExist', - 'errorMessage' => 'The Connection not existed!', - ], + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]\\",\\n \\"RequestId\\": \\"c057d379-ea65-41ec-a8a8-90627a9****\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateEventSource', + 'description' => 'You can call this API operation to update an event source.'."\n", + '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' => 'Request parameters changed'], + ['createdAt' => '2023-08-01T13:13:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T02:33:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:58.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + '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 \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"ApiDestinationName\\": \\"api-destination-name\\"\\n}","type":"json"}]', - 'title' => 'UpdateApiDestination', - 'description' => 'You can call this API operation to update an API destination.'."\n", ], - 'CreateApiDestination' => [ - 'summary' => 'Creates an API destination.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateEventStreaming' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19803,897 +15197,2312 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '163676', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '154147', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'], ], 'parameters' => [ [ - 'name' => 'ApiDestinationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the API destination. The name must be 2 to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'api-destination-name', - 'maxLength' => 127, - 'minLength' => 2, - ], + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The name of the event stream.', 'type' => 'string', 'required' => true, 'maxLength' => 255, 'minLength' => 2, 'example' => 'myeventstreaming'], ], [ - 'name' => 'ConnectionName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the connection. The name must be 2 to 127 characters in length.'."\n" - ."\n" - .'> '."\n" - .'> Before you configure this parameter, you must call the CreateConnection operation to create a connection. Then, set this parameter to the name of the connection that you created.', - 'type' => 'string', - 'required' => true, - 'example' => 'connection-name', - 'maxLength' => 127, - 'minLength' => 2, - ], + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The description of the event stream.', 'type' => 'string', 'required' => false, 'example' => 'rocketmq2mns'], ], [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the API destination. The description can be up to 255 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '', - 'maxLength' => 255, - ], + 'name' => 'FilterPattern', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The event filtering rule. If you do not specify this parameter, all events are matched. For more information, see [https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-patterns](https://www.alibabacloud.com/help/en/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' => 'HttpApiParameters', - 'in' => 'query', + 'name' => 'Source', + 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The parameters that are configured for the API destination.'."\n", + 'title' => '', + 'description' => 'The event provider. You must select exactly one Source type.', 'type' => 'object', 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the API destination. The endpoint can be up to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'http://127.0.0.1:8001/api'."\n", - 'maxLength' => 127, + 'SourceMNSParameters' => [ + 'title' => '', + 'description' => 'The Source Simple Message Queue (formerly MNS) parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'QueueName' => ['description' => 'The queue name.', 'type' => 'string', 'required' => false, 'example' => 'queue_api_1642474203601', 'title' => ''], + 'IsBase64Decode' => ['description' => 'Specifies whether to enable Base64 decoding. Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + 'required' => false, + 'example' => '', ], - 'Method' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* HEAD'."\n" - .'* DELETE'."\n" - .'* PUT'."\n" - .'* PATCH'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'POST', + 'SourceRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The Source RabbitMQ parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'i-f8z9lqkldlb4oxsxwwub', 'title' => ''], + 'VirtualHostName' => ['description' => 'The vhost name of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'eb-connect'."\n", 'title' => ''], + 'QueueName' => ['description' => 'The queue name of the ApsaraMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceKafkaParameters' => [ + 'title' => '', + 'description' => 'The Source Kafka parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-zhangjiakou', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-8vbh4a5b9yfhgkkzm****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'topic_empower_1641539400786', 'title' => ''], + 'ConsumerGroup' => ['description' => 'The Group ID of the consumer that subscribes to the topic.', 'type' => 'string', 'required' => false, 'example' => 'DEFAULT_GROUP', 'title' => ''], + 'OffsetReset' => ['description' => 'The offset.', 'type' => 'string', 'required' => false, 'example' => 'latest', 'title' => ''], + 'Network' => [ + 'description' => 'The network configuration. Default value: Default. Set the value to PublicNetwork for VPC networks.', + 'type' => 'string', + 'enum' => ['PublicNetwork', 'Default'], + 'required' => false, + 'example' => 'Default', + 'title' => '', + ], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze6p0o345nykmekxt****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-wz9t1l1e8eu2om****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-uf6jcm3y5hcs7hkl****', 'title' => ''], + 'ValueDataType' => ['description' => 'The encoding and decoding parameter. Valid values:'."\n" + .' a. Json: Bytes are decoded to a character string by using UTF-8 and then parsed as JSON.'."\n" + .' b. Text: Bytes are decoded to a character string by using UTF-8 and placed directly into the payload.'."\n" + .' c. Binary: Bytes are encoded to a character string by using Base64 encoding and placed into the payload.', 'type' => 'string', 'required' => false, 'example' => 'Text', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceRocketMQParameters' => [ + 'title' => '', + 'description' => 'The Source RocketMQ parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'i-f8z9a9mcgwri1c1id****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'TOPIC-cainiao-pcs-order-process-inBoundConditionCheck', 'title' => ''], + 'Tag' => ['description' => 'The filter tag of the message.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'Offset' => ['description' => 'The consumption offset of the message. Valid values:'."\n" + .'- CONSUMEFROMLASTOFFSET: Consumption starts from the latest offset.'."\n" + .'- CONSUMEFROMFIRSTOFFSET: Consumption starts from the earliest offset.'."\n" + .'- CONSUMEFROMTIMESTAMP: Consumption starts from the offset at a specified point in time.'."\n" + ."\n" + .'Default value: CONSUMEFROMLAST_OFFSET.', 'type' => 'string', 'required' => false, 'example' => 'CONSUMEFROMLASTOFFSET', 'title' => ''], + 'GroupID' => ['description' => 'The Group ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'GID_test', 'title' => ''], + 'Timestamp' => ['description' => 'The timestamp. This parameter is valid only when the Offset parameter is set to CONSUMEFROMTIMESTAMP.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1670656652009', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + .'- Cloud_4 (default): Alibaba Cloud RocketMQ 4.0 instance.'."\n" + .'- Cloud_5: Alibaba Cloud RocketMQ 5.0 instance.'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Cloud_5', 'title' => ''], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => 'reg****-vpc.cn-zhangjiakou.aliyuncs.com'."\n", 'title' => ''], + 'InstanceUsername' => ['description' => 'The instance username.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The instance password.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + 'InstanceVpcId' => ['description' => 'The VPC information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5e3sv4b12345****', 'title' => ''], + 'InstanceVSwitchIds' => ['description' => 'The vSwitch information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h12****', 'title' => ''], + 'InstanceSecurityGroupId' => ['description' => 'The security group information of the instance.', 'type' => 'string', 'required' => false, 'example' => 'sg-m5edtu24f12345****', 'title' => ''], + 'InstanceNetwork' => ['description' => 'The network information of the instance. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + ."\n" + .'- Json'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'required' => false, 'example' => 'Json', 'title' => ''], + 'FilterType' => ['description' => 'The message filter type.', 'type' => 'string', 'required' => false, 'example' => 'Tag', 'title' => ''], + 'FilterSql' => ['description' => 'The SQL filter statement.', 'type' => 'string', 'required' => false, 'example' => 'index > 10', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5e3sv4b12345****'."\n", 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h12345****'."\n", 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-m5edtu24f12345****'."\n", 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork'."\n", 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The Source RocketMQ checkpoint parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'InstanceType' => ['description' => 'The type of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Cloud_5', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'rmq-cn-jte3w******', 'title' => ''], + 'Topics' => [ + 'description' => 'The topic of the ApsaraMQ for RocketMQ instance.', + 'type' => 'array', + 'items' => ['description' => 'The topic of the ApsaraMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'myTopic', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SourceApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'The Source RocketMQ checkpoint parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + 'Topics' => [ + 'description' => 'The topic of the Apache RocketMQ instance.', + 'type' => 'array', + 'items' => ['description' => 'The topic of the Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'myTopic', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The endpoint of the Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1:9876', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username of the Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The password of the Apache RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-adw1awdw*****', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-dwaafds****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-mw43*****', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'SourceMQTTParameters' => [ + 'description' => 'The Source MQTT parameters.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1dsudbecqwt61j****', 'title' => ''], + 'Topic' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'topic_empower_1642400400779', 'title' => ''], + 'BodyDataType' => ['description' => 'The message encoding format. Valid values:'."\n" + .'- JSON'."\n" + .'- Text'."\n" + .'- Binary', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'NetworkType' => ['description' => 'The network type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceDTSParameters' => [ + 'description' => 'The Source DTS parameters.', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => 'f86e5814-b223-482c-b768-3b873297****', 'title' => ''], + 'BrokerUrl' => ['description' => 'The network address and port number of the data subscription channel.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Topic' => ['description' => 'The subscription topic of the data subscription channel.', 'type' => 'string', 'required' => false, 'example' => 'LTC_CACHE_PRD', 'title' => ''], + 'Sid' => ['description' => 'The consumer group ID.', 'type' => 'string', 'required' => false, 'example' => 'hkprdb', 'title' => ''], + 'Username' => ['description' => 'The account of the consumer group.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password of the consumer group account.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InitCheckPoint' => ['description' => 'The consumption checkpoint, which is the timestamp when the SDK client consumes the first data record. The value is a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1620962769', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceSLSParameters' => [ + 'description' => 'The Source SLS parameters.', + 'type' => 'object', + 'properties' => [ + 'RoleName' => ['description' => 'The role name that grants authorization to the event bus EventBridge to read SLS log content. When you create the role in the Resource Access Management (RAM) console, select Alibaba Cloud Service as the trusted entity and select event bus as the trusted service.', 'type' => 'string', 'required' => false, 'example' => 'testRole'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourcePrometheusParameters' => [ + 'description' => 'The Source Prometheus event source.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'."\n", 'title' => ''], + 'ClusterId' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'c83555068b6******ad213f565f209'."\n", 'title' => ''], + 'DataType' => ['description' => 'The data type.', 'type' => 'string', 'required' => false, 'example' => 'Json', 'title' => ''], + 'Labels' => ['description' => 'The labels.', 'type' => 'string', 'required' => false, 'example' => '__name__=.*'."\n", 'title' => ''], + 'RoleName' => ['description' => 'The task role name.', 'type' => 'string', 'required' => false, 'example' => 'test-role'."\n", 'title' => ''], + 'ExternalLabels' => ['description' => 'The external labels appended to the event stream.', 'type' => 'string', 'required' => false, 'example' => '{"env":"test"}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaParameters' => [ + 'description' => 'The custom Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID of the ApsaraMQ for Kafka instance.', 'type' => 'string', 'required' => false, 'example' => 'r-8vb64581862c****'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceCustomizedKafkaConnectorParameters' => [ + 'description' => 'The custom connector Apache Kafka event source.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The download URL of the OSS resource ZIP package.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'The connector parameters.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'required' => false, 'example' => 'test-name'."\n", 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceApacheKafkaParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] Kafka client certificate chain. Provide this parameter when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format containing the client certificate and the complete certificate chain (client certificate first, followed by intermediate CA certificates, with the root CA certificate being optional). Ensure that each PEM file starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\', then Base64-encode the concatenated content.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private keys] Kafka client private key password. Provide the decryption password when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave this parameter empty if the private key is not encrypted. This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] Kafka server trust certificate. Used to authenticate the SSL certificate of the Kafka broker and prevent man-in-the-middle attacks. Format: Base64 encoding of PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure it starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued the certificate.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] SSL private key configuration object. Provide the client private key when the Kafka server enables bidirectional SSL authentication. Only KMS pattern is supported: specify the Key Management Service EPS resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. Used to locate the Key Management Service instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN of the corresponding key in the KMS console.', 'type' => 'string', 'required' => false, 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. When the KMS secret is stored as a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', set this parameter to \'ssl_keystore_key\'. Leave this parameter empty if the KMS secret is in plain text mode (directly stores the PEM content of the private key).', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'Topic' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'ConsumerGroup' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'OffsetReset' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'ValueDataType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VSwitchIds' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityGroupId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'NetworkType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityProtocol' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslMechanism' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslUser' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslPassword' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SourceOSSParameters' => [ + 'description' => 'The Source OSS event source.', + 'type' => 'object', + 'properties' => [ + 'RoleName' => ['description' => 'The role name that grants authorization to the event bus EventBridge to read OSS files. The role must have at least read-only permissions on OSS.', 'type' => 'string', 'required' => false, 'example' => 'eventbridge_oss_role'."\n", 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'example' => 'bucket_abc'."\n", 'title' => ''], + 'Prefix' => ['description' => 'The file path prefix.', 'type' => 'string', 'required' => false, 'example' => 'fun/document/'."\n", 'title' => ''], + 'LoadMode' => ['description' => 'The data loading mode. The value single indicates single-document loading, and the value element indicates chunked loading. Valid values: single/element. Default value: single.', 'type' => 'string', 'required' => false, 'example' => 'single'."\n", 'title' => ''], + 'LoadFormat' => ['description' => 'The document loader.', 'type' => 'string', 'required' => false, 'example' => 'TextLoader', 'title' => ''], + 'Delimiter' => ['description' => 'The delimiter. In chunked loading mode, this delimiter is used as the text chunking identifier. The default delimiter is the newline character '."\n" + .'.', 'type' => 'string', 'required' => false, 'example' => '\\n', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceEventBusParameters' => [ + 'description' => 'The Source EventBus parameters.', + 'type' => 'object', + 'properties' => [ + 'EventBusName' => ['description' => 'The event bus name.', 'type' => 'string', 'required' => false, 'example' => 'my-event-bus', 'title' => ''], + 'EventRuleName' => ['description' => 'The event rule name.', 'type' => 'string', 'required' => false, 'example' => 'my-event-rule', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SourceOpenSourceRabbitMQParameters' => [ + 'description' => 'The Source open source RabbitMQ parameters.', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1:9876', 'title' => ''], + 'VirtualHostName' => ['description' => 'The virtual host name of the open source RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Vhost1', 'title' => ''], + 'QueueName' => ['description' => 'The queue name of the open source RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], + 'BodyDataType' => ['description' => 'The message body data type.', 'type' => 'string', 'required' => false, 'example' => 'Json', 'title' => ''], + 'Username' => ['description' => 'The username used to connect to the open source RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password used to connect to the open source RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], + 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5e3sv4b12345****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-m5edtu24f12345****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PrivateNetwork', 'title' => ''], + 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'SourceMySQLParameters' => ['description' => 'The Source MySQL parameters.', '$ref' => '#/components/schemas/SourceMySQLParameters', 'required' => false, 'title' => '', 'example' => ''], + 'SourcePostgreSQLParameters' => ['$ref' => '#/components/schemas/SourcePostgreSQLParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMetaParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQMsgSyncParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SourceFeiShuDocsParameters' => ['$ref' => '#/components/schemas/SourceFeiShuDocsParameters', 'description' => '', 'title' => '', 'example' => ''], ], - 'required' => true, + 'required' => false, + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'Metadata', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'Sink', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ + 'title' => '', + 'description' => 'The event target. You must select exactly one Sink type.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB2261B9', + 'SinkMNSParameters' => [ + 'title' => '', + 'description' => 'The Simple Message Queue (formerly MNS) event target.', + 'type' => 'object', + 'properties' => [ + 'QueueName' => [ + 'description' => 'The target service type is Simple Message Queue (formerly MNS).', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the Simple Message Queue (formerly MNS) queue.', 'type' => 'string', 'required' => false, 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'IsBase64Encode' => [ + 'description' => 'Specifies whether to enable Base64 encoding.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Specifies whether to enable Base64 encoding.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + 'Form' => ['description' => 'The event transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkEventHouseParameters' => [ + 'title' => '', + 'description' => 'The event target name.', + 'type' => 'object', + 'properties' => [ + 'CatalogName' => ['title' => '', 'description' => 'The catalog name.', 'type' => 'string', 'example' => 'demo', 'required' => false], + 'NamespaceName' => ['title' => '', 'description' => 'The namespace of the destination table.', 'type' => 'string', 'example' => 'name1', 'required' => false], + 'EventTableName' => ['title' => '', 'description' => 'The name of the destination table.', 'type' => 'string', 'example' => 'demo-table', 'required' => false], + 'MappingRules' => [ + 'title' => '', + 'description' => 'The field mapping rules.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The field mapping rules.', + 'type' => 'object', + 'properties' => [ + 'ColumnValue' => [ + 'title' => '', + 'description' => 'The column value extraction rule.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The extraction path, such as $.data.value.name.', 'type' => 'string', 'example' => '$.data.value', 'required' => false], + 'Form' => ['title' => '', 'description' => 'The transformation method, such as JSONPATH.', 'type' => 'string', 'example' => 'JSONPATH', 'required' => false], + 'Template' => ['title' => '', 'description' => 'The template configuration.', 'type' => 'string', 'example' => 'The value of ${key} is ${value}!', 'required' => false], + ], + 'required' => false, + 'example' => '', + ], + 'ColumnName' => ['title' => '', 'description' => 'The column name.', 'type' => 'string', 'example' => 'age', 'required' => false], + 'ColumnType' => [ + 'title' => '', + 'description' => 'The column type.', + 'type' => 'string', + 'example' => 'text', + 'enum' => ['text', 'bigint', 'json', 'timestamp', 'double'], + 'required' => false, + ], + ], + 'required' => false, + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkFcParameters' => [ + 'title' => '', + 'description' => 'The function target.', + 'type' => 'object', + 'properties' => [ + 'ServiceName' => [ + 'description' => 'The service name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'myService', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'FunctionName' => [ + 'description' => 'The function name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The function name.', 'type' => 'string', 'required' => false, 'example' => 'mFunction', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Concurrency' => [ + 'description' => 'The delivery concurrency. Minimum value: 1.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery concurrency. Minimum value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Qualifier' => [ + 'description' => 'The alias of the service to which the function belongs.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The alias of the service to which the function belongs.', 'type' => 'string', 'required' => false, 'example' => 'LATEST', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InvocationType' => [ + 'description' => 'The invocation type. Valid values:'."\n" + .'- Sync: synchronous.'."\n" + .'- Async: asynchronous.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The invocation type.', 'type' => 'string', 'required' => false, 'example' => 'Async', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content body sent to the function.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DataFormat' => [ + 'description' => 'The format transformation rule for event content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event.'."\n" + .'- JSONPATH: partial event.'."\n" + .'- CONSTANT: constant.'."\n" + .'- TEMPLATE: template.', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => '$.data.key'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The Sink RabbitMQ parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is MSMQ for RabbitMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of MSMQ for RabbitMQ.', 'type' => 'string', 'required' => false, 'example' => 'amqp-cn-2r42e73o****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VirtualHostName' => [ + 'description' => 'The vhost name of the MSMQ for RabbitMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vhost name of the MSMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'rabbit-host'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TargetType' => [ + 'description' => 'The target type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The target type. Valid values:'."\n" + .'- Exchange: Exchange mode.'."\n" + .'- Queue: Queue mode.', 'type' => 'string', 'required' => false, 'example' => 'Exchange/Queue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Exchange' => [ + 'description' => 'The Exchange mode.'."\n" + .'This parameter is required only when the TargetType parameter is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The exchange name of the MSMQ for RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'a_exchange', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoutingKey' => [ + 'description' => 'The routing rule of the message.'."\n" + .'This parameter is required only when the TargetType parameter is set to Exchange.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The routing rule of the message.', 'type' => 'string', 'required' => false, 'example' => 'housekeeping', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'QueueName' => [ + 'description' => 'The Queue mode.'."\n" + .'This parameter is required only when the TargetType parameter is set to Queue.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The name of the queue in the instance.', 'type' => 'string', 'required' => false, 'example' => 'MyQueue', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The message ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkKafkaParameters' => [ + 'title' => '', + 'description' => 'The Sink Kafka parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is MSMQ for Apache Kafka.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'Defaut_1283278472_s****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Topic' => [ + 'description' => 'The topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the destination topic strategy for message routing. If both the Topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: Specify a fixed topic name string (such as "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: Specify a standard JSONPath expression (such as "$.user.id" or "$.metadata.category"). The system parses the upstream message body and', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transform type. Valid values:'."\n" + .'- CONSTANT: constant value'."\n" + .'- JSONPATH: extract from upstream based on path', 'type' => 'string', 'required' => false, 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'Headers' => [ + 'description' => 'The additional metadata of the Kafka message.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Valid values:'."\n" + ."\n" + .'- ORIGINAL: complete event.'."\n" + .'- JSONPATH: partial event.'."\n" + .'- CONSTANT: constant.'."\n" + .'- TEMPLATE: template.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Acks' => [ + 'description' => 'The acknowledgment mode for writing to Kafka:'."\n" + .'- acks=0: No response is required from the server. This mode delivers higher performance but carries a greater risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance with a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides greater data safety. Data loss occurs only if both the primary and secondary nodes go down.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The acknowledgment mode for writing to Kafka:'."\n" + .'- acks=0: No response is required from the server. This mode delivers higher performance but carries a greater risk of data loss.'."\n" + .'- acks=1: A response is returned after the primary node writes successfully. This mode delivers moderate performance with a moderate risk of data loss. Data loss may occur if the primary node goes down.'."\n" + .'- acks=all: A response is returned only after the primary node writes successfully and the secondary nodes complete synchronization. This mode delivers lower performance but provides greater data safety. Data loss occurs only if both the primary and secondary nodes go down.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Key' => [ + 'description' => 'The identifier of the message.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The identifier of the message.', 'type' => 'string', 'required' => false, 'example' => 'key', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'description' => 'The message body content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '', + 'description' => 'The description.', + 'type' => 'object', + 'properties' => [ + 'Bootstraps' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Topic' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'DynamicTopic' => [ + 'title' => '', + 'description' => 'Specifies the destination topic strategy for message routing. If both the Topic parameter and the DynamicTopic parameter are specified, the DynamicTopic parameter takes precedence. Two configuration modes are supported:'."\n" + .' 1. **Static constant mode**: Specify a fixed topic name string (such as "order_created"). All messages are sent to this topic.'."\n" + .' 2. **Dynamic extraction mode**: Specify a standard JSONPath expression (such as "$.user.id" or "$.metadata.category"). The system parses the upstream message body and', + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '', 'description' => 'The value.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Form' => ['title' => '', 'description' => 'The transform type. Valid values:'."\n" + .'- CONSTANT: constant value'."\n" + .'- JSONPATH: extract from upstream based on path', 'type' => 'string', 'required' => false, 'example' => ''], + 'Template' => ['title' => '', 'description' => 'The template.', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + 'Acks' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Key' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'CompressionType' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SecurityProtocol' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslMechanism' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SaslUser' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Headers' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SaslPassword' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SslKeystoreCertificateChain' => ['title' => '', 'description' => '[Required for mutual authentication] Kafka client certificate chain. Provide this parameter when the Kafka server enables mutual SSL authentication (ssl.client.auth=required). Format: Base64-encoded PEM format containing the client certificate and the complete certificate chain (client certificate first, followed by intermediate CA certificates, with the root CA certificate being optional). Ensure that each PEM file starts with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\', then Base64-encode the concatenated content.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeyPassword' => ['title' => '', 'description' => '[Required for encrypted private keys] Kafka client private key password. Provide the decryption password when the client private key is encrypted (the PEM file contains \'Proc-Type: 4,ENCRYPTED\' or \'ENCRYPTED\' markers). Leave this parameter empty if the private key is not encrypted. This password is used only to decrypt the private key and is unrelated to Kafka authentication.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslTruststoreCertificates' => ['title' => '', 'description' => '[Required for SSL] The Kafka server trust certificate. Used to authenticate the legitimacy of the Kafka Broker SSL certificate and prevent man-in-the-middle attacks. Format: Base64 encoding of PEM format, typically containing the CA certificate or the server certificate of the Kafka server. Example: Base64-encode the PEM file content of the CA certificate (ensure it begins with \'-----BEGIN CERTIFICATE-----\' and ends with \'-----END CERTIFICATE-----\'). If Kafka uses a self-signed certificate, provide the CA certificate that issued it.', 'type' => 'string', 'required' => false, 'example' => ''], + 'SslKeystoreKey' => [ + 'title' => '', + 'description' => '[Required for bidirectional authentication] The SSL private key configuration object. When the Kafka server enables bidirectional SSL authentication, a client private key is required. Only KMS pattern is supported for the key: specify the Key Management Service EPS resource that stores the private key through KmsArn. The system retrieves the private key content from KMS only in memory, providing higher security. Configuration example: {\\"KmsArn\\": \\"acs:kms:ap-southeast-1:123456789:secret/ssl-key-xxxx\\", \\"KmsSecretValueKey\\": \\"keystore_private_key\\"}\\n"', + 'type' => 'object', + 'properties' => [ + 'KmsArn' => ['title' => '', 'description' => '[Required] The KMS resource ARN that stores the SSL private key. Used to locate the Key Management Service instance that stores the client private key. Format example: \'acs:kms:ap-southeast-1:123456789:secret/ssl-keystore-key-xxxx\'. You can view the ARN of the corresponding key in the KMS console.', 'type' => 'string', 'required' => false, 'example' => ''], + 'KmsSecretValueKey' => ['title' => '', 'description' => '[KMS KV mode] The key name in the KMS secret. When the KMS secret is stored as a key-value (KV) structure, specify this parameter to indicate the key that corresponds to the SSL private key. Example: if the KMS secret is \'{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}\', set this parameter to \'ssl_keystore_key\'. Leave this parameter empty if the KMS secret is in plain text mode (directly stores the PEM content of the private key).', 'type' => 'string', 'required' => false, 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', + 'SinkRocketMQParameters' => [ + 'title' => '', + 'description' => 'Sink RocketMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The event target type is MSMQ for RocketMQ.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance ID of MSMQ for RocketMQ.', 'type' => 'string', 'required' => false, 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic of the MSMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic of the MSMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Keys' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => ' '."\n" + .'{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Tags' => [ + 'description' => 'The filter properties.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceType' => [ + 'description' => 'The instance type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: Alibaba Cloud RocketMQ 4.0 instance (default)'."\n" + .'- Cloud_5: Alibaba Cloud RocketMQ 5.0 instance'."\n" + .'- SelfBuilt: self-managed Apache RocketMQ cluster', 'type' => 'string', 'required' => false, 'example' => 'Cloud_4'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => [ + 'description' => 'The instance endpoint.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vbsvkkbpf3vb0zef****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceUsername' => [ + 'description' => 'The instance username.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance username.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstancePassword' => [ + 'description' => 'The instance password.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The instance password.', 'type' => 'string', 'required' => false, 'example' => 'admin****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vb835n3zf9shwlvb****', 'title' => ''], + 'Form' => ['description' => 'The event transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vbr-8vb835n3zf9shwl****mp', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'b4bf375515f6440f942e3a20c33d****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Network' => [ + 'description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DeliveryOrderType' => [ + 'description' => 'The delivery order type of messages. Optional. Defaults to concurrent delivery.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The delivery order type. Valid values:'."\n" + ."\n" + .'- **Orderly:** ordered delivery'."\n" + .'- **Concurrently:** concurrent delivery', 'type' => 'string', 'required' => false, 'example' => 'Concurrently', 'title' => ''], + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ShardingKey' => [ + 'description' => 'The sharding key of the message.'."\n" + .'> When DeliveryOrderType is set to Orderly, this specifies the event content transformation rule for the ShardingKey property when writing messages downstream. When the source is RocketMQ, ShardingKey can be empty. In this case, the message ShardingKey is generated by concatenating the upstream BrokerName and QueueId.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The sharding key value.', 'type' => 'string', 'required' => false, 'example' => 'order_id', 'title' => ''], + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => ' CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', + 'SinkDorisParameters' => [ + 'title' => '', + 'description' => 'The event source type.', + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'Date' => [ - 'description' => 'The data returned if the API destination is created.'."\n", + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'Sink RocketMQ Checkpoint Parameters', 'type' => 'object', 'properties' => [ - 'ApiDestinationName' => [ - 'description' => 'The name of the API destination.'."\n", - 'type' => 'string', - 'example' => 'ApiDestinationName', + 'InstanceType' => ['description' => 'The instance type. Valid values:'."\n" + ."\n" + .'- Cloud_4: Alibaba Cloud RocketMQ 4.0 instance'."\n" + .'- Cloud_5: Alibaba Cloud RocketMQ 5.0 instance', 'type' => 'string', 'required' => false, 'example' => 'Cloud_4', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'MQ_INST_164901546557****_BAAN****', 'title' => ''], + 'Topic' => [ + 'description' => 'The topic of the MSMQ for RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the MSMQ for RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The timestamp of message consumption.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'required' => false, 'example' => '1570761026400', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The Group ID of the consumer group.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Group ID', 'type' => 'string', 'required' => false, 'example' => 'GID_EVENTBRIDGE_1736234******', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'RequestParameterInvalid', - 'errorMessage' => 'The ApiDestination name is invalid! Only letters a~z or A~Z, numbers 0~9, underscore (_) and dash (-) are supported.', - ], - [ - 'errorCode' => 'ApiDestinationAlreadyExist', - 'errorMessage' => 'The api-destination already existed!', - ], - [ - 'errorCode' => 'ConnectionNotExist', - 'errorMessage' => 'The Connection not existed!', - ], - [ - 'errorCode' => 'HttpApiParametersIsNull', - 'errorMessage' => 'HttpApiParameters is null!', - ], - [ - 'errorCode' => 'EndpointIsBlank', - 'errorMessage' => 'Endpoint is blank!', - ], - [ - 'errorCode' => 'Method', - 'errorMessage' => 'Method is blank!', - ], - [ - 'errorCode' => 'EndpointLengthExceed', - 'errorMessage' => 'Endpoint length cannot exceed 127!', - ], - [ - 'errorCode' => 'ApiDestinationCountExceedLimit', - 'errorMessage' => 'The current count of api-destination is [{0}], which will exceed the limit quota.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Date\\": {\\n \\"ApiDestinationName\\": \\"ApiDestinationName\\"\\n }\\n}","type":"json"}]', - 'title' => 'CreateApiDestination', - 'description' => 'You can call this API operation to create an API destination.'."\n", - ], - 'CreateConnection' => [ - 'summary' => 'Creates a connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '163691', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], - ], - 'parameters' => [ - [ - 'name' => 'ConnectionName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the connection. The name must be 2 to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'connection-name', - 'maxLength' => 127, - 'minLength' => 2, - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the connection. The description can be up to 255 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - 'maxLength' => 255, - ], - ], - [ - 'name' => 'NetworkParameters', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured for the network.'."\n", - 'type' => 'object', - 'properties' => [ - 'NetworkType' => [ - 'description' => '* PublicNetwork: the Internet.'."\n" - .'* PrivateNetwork: virtual private cloud (VPC).'."\n" - ."\n" - .'> If you set this parameter to PrivateNetwork, you must also configure VpcId, VswitchId, and SecurityGroupId.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PublicNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', 'required' => false, - 'example' => 'eb-test/vpc-bp1symadadwnwg****', + 'example' => '', ], - 'VswitcheId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '', + 'description' => 'Sink Apache RocketMQ Checkpoint Parameters', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'description' => 'The topic of the RocketMQ instance.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic name of the RocketMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'Mytopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ConsumeTimestamp' => [ + 'description' => 'The timestamp of message consumption.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The timestamp.', 'type' => 'string', 'required' => false, 'example' => '1570761026400', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Group' => [ + 'description' => 'The Group ID of the consumer group.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'Group ID', 'type' => 'string', 'required' => false, 'example' => 'GID_EVENTBRIDGE_1736234******', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'InstanceEndpoint' => ['description' => 'The instance endpoint.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1:9876', 'title' => ''], + 'InstanceUsername' => ['description' => 'The username required for authentication.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'InstancePassword' => ['description' => 'The password for the username.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zeccak5pb0j3ay******', 'title' => ''], + 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf62oqt1twuevrt******', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-2ze5bmpw6adn0q******', 'title' => ''], + ], 'required' => false, - 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeq****', + 'example' => '', ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', + 'SinkSLSParameters' => [ + 'description' => 'Sink SLS Parameters', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => 'The project of Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The project of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'LogStore' => [ + 'description' => 'The Logstore of Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The Logstore of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'test-logstore'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Topic' => [ + 'description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "topic".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic where the log resides, corresponding to the Simple Log Service reserved field "topic".', 'type' => 'string', 'required' => false, 'example' => 'testTopic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The content sent to Simple Log Service.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "key": "value"'."\n" + .'}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The role that provides authorization for the event bus EventBridge to read Simple Log Service log content. When creating the role in the Resource Access Management (RAM) console, select "Alibaba Cloud Service" and set "Trusted Service" to "event bus".', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The role that provides authorization for the event bus EventBridge to read Simple Log Service log content. When creating the role in the Resource Access Management (RAM) console, select "Alibaba Cloud Service" and set "Trusted Service" to "event bus".', 'type' => 'string', 'required' => false, 'example' => 'testRole', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentType' => [ + 'description' => 'The data format of Simple Log Service. You can select the default format or configure specified key-value pairs. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The data format of Simple Log Service.', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentSchema' => [ + 'description' => 'The custom log key-value pairs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The custom key-value pairs.', 'type' => 'string', 'required' => false, 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', + 'title' => '', + 'example' => '', ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'AuthParameters', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured for authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationType' => [ - 'description' => 'The authentication type. Valid values:'."\n" - ."\n" - .'* BASIC: basic authentication. Basic authentication is a simple authentication scheme built into the HTTP protocol. When you use the HTTP protocol for communications, the authentication method that the HTTP server uses to authenticate user identities on the client is defined in the protocol. The request header is in the Authorization: Basic Base64-encoded string (`Username:Password`) format. If you use this authentication method, you must configure Username and Password.'."\n" - .'* API_KEY_AUTH: API key authentication. The request header is in the Token: Token value format. If you use this authentication method, you must configure ApiKeyName and ApiKeyValue.'."\n" - .'* OAUTH_AUTH: OAuth authentication. OAuth2.0 is an authentication mechanism. In normal cases, a system that does not use OAuth2.0 can access the resources of the server from the client. To ensure access security, access tokens are used to authenticate users in OAuth 2.0. The client must use an access token to access protected resources. This way, OAuth 2.0 protects resources from being accessed from malicious clients and improves system security. If you use this authentication method, you must configure AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod.'."\n", - 'type' => 'string', + 'SinkFnfParameters' => [ + 'description' => 'The Sink Fnf parameters.', + 'type' => 'object', + 'properties' => [ + 'FlowName' => [ + 'description' => 'The flow name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The flow name.', 'type' => 'string', 'required' => false, 'example' => 'test-streaming-fnf'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ExecutionName' => [ + 'description' => 'The execution name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution name.', 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Input' => [ + 'description' => 'The execution input information.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The execution input information.', 'type' => 'string', 'required' => false, 'example' => '123', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The role configuration.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The role configuration.', 'type' => 'string', 'required' => false, 'example' => 'Al****FNF-x****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'BASIC_AUTH', + 'title' => '', + 'example' => '', ], - 'ApiKeyAuthParameters' => [ - 'description' => 'The parameters that are configured for API key authentication.'."\n", + 'SinkPrometheusParameters' => [ + 'description' => 'The Sink Prometheus parameters.', 'type' => 'object', 'properties' => [ - 'ApiKeyName' => [ - 'description' => 'The key of the API key.'."\n", - 'type' => 'string', + 'URL' => [ + 'description' => 'The Prometheus Remote Write URL.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The 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", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'HeaderParameters' => [ + 'description' => 'The data structure of request header parameters.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => '- If Form is CONSTANT: a constant value.'."\n" + .'- If Form is JSONPATH: content extracted by JSONPath.'."\n" + .'- If Form is TEMPLATE: a template variable.'."\n" + ."\n" + .'Note: The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + 'Form' => ['description' => 'The transform format. Valid values:'."\n" + ."\n" + .'- JSONPATH'."\n" + .'- CONSTANT'."\n" + .'- TEMPLATE', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The HTTP request header template. Specify this parameter when Form is set to TEMPLATE. The result after event content transformation must be in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "user_name":"${name}"'."\n" + .'}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'AuthorizationType' => [ + 'description' => 'The authentication type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The authentication type.', 'type' => 'string', 'required' => false, 'example' => 'BASIC_AUTH', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'Token', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], - 'ApiKeyValue' => [ - 'description' => 'The value of the API key.'."\n", - 'type' => 'string', + 'Username' => [ + 'description' => 'The username.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => '***admin', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Password' => [ + 'description' => 'The password.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The password.', 'type' => 'string', 'required' => false, 'example' => 'abc', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Data' => [ + 'description' => 'The metric content.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The metric content.', 'type' => 'string', 'required' => false, 'example' => '$.data', 'title' => ''], + 'Form' => ['description' => 'The transform format. Default value: JSONPATH.', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'NetworkType' => [ + 'description' => 'The network type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PublicNetwork'."\n" + .'- PrivateNetwork', 'type' => 'string', 'required' => false, 'example' => 'PrivateNetwork', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-adw1awdw*****', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-dwaafds****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-mw43*****'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'adkjnakddh****', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'BasicAuthParameters' => [ - 'description' => 'The parameters that are configured for basic authentication.'."\n", + 'SinkDataHubParameters' => [ + 'description' => 'The Sink DataHub parameters.', 'type' => 'object', 'properties' => [ - 'Password' => [ - 'description' => 'The password for basic authentication.'."\n", - 'type' => 'string', + 'Project' => [ + 'description' => 'The DataHub project name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub project name.', 'type' => 'string', 'required' => false, 'example' => 'demo-project'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => '*******', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], - 'Username' => [ - 'description' => 'The username for basic authentication.'."\n", - 'type' => 'string', + 'Topic' => [ + 'description' => 'The DataHub topic name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The DataHub topic name.', 'type' => 'string', 'required' => false, 'example' => 'demo-topic', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopicType' => [ + 'description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic type. Valid values:'."\n" + ."\n" + .'- TUPLE'."\n" + .'- BLOB', 'type' => 'string', 'required' => false, 'example' => 'TUPLE', 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopicSchema' => [ + 'description' => 'The topic content schema for the TUPLE type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The topic content schema for the TUPLE type.', 'type' => 'string', 'required' => false, 'example' => '{"k1":"value1","k2":"value2"}', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'TEMPLATE', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => '{"k1":"${k1}","k2":"${k2}"}', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The record content template for the BLOB type.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The record content template for the BLOB type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'ORIGINAL', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'RoleName' => [ + 'description' => 'The task role name.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The task role name.', 'type' => 'string', 'required' => false, 'example' => 'test-role'."\n", 'title' => ''], + 'Form' => ['description' => 'The transformation format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentType' => [ + 'description' => 'The data format. You can select the default format or configure specified key-value pairs. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + .'- KeyValue', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => 'JSON', 'title' => ''], + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'ContentSchema' => [ + 'description' => 'The custom log key-value pairs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.', + 'type' => 'object', + 'properties' => [ + 'Value' => ['description' => 'The value before transformation.', 'type' => 'string', 'required' => false, 'example' => '{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}', 'title' => ''], + 'Form' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'admin', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'OAuthParameters' => [ - 'description' => 'The parameters that are configured for OAuth authentication.'."\n", + 'SinkCustomizedKafkaParameters' => [ + 'description' => 'The Sink Kafka parameters.', 'type' => 'object', 'properties' => [ - 'AuthorizationEndpoint' => [ - 'description' => 'The endpoint of the authorized client. The endpoint can be up to 127 characters in length.'."\n", - 'type' => 'string', + 'InstanceId' => ['description' => 'The instance ID of MSMQ for Apache Kafka.', 'type' => 'string', 'required' => false, 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + 'description' => 'The Sink Kafka connector parameters.', + 'type' => 'object', + 'properties' => [ + 'ConnectorPackageUrl' => ['description' => 'The OSS file download URL.', '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"', 'title' => ''], + 'ConnectorParameters' => [ + 'description' => 'Parses the properties file in the current ZIP package.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The connector name.', 'type' => 'string', 'required' => false, 'example' => 'mongo-sink', 'title' => ''], + 'Config' => ['description' => 'The connector configuration.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', 'title' => ''], + ], 'required' => false, - 'example' => 'http://localhost:8080/oauth/token', - 'maxLength' => 127, + 'title' => '', + 'example' => '', ], - 'ClientParameters' => [ - 'description' => 'The parameters that are configured for the client.'."\n", + 'WorkerParameters' => ['description' => 'The instance configuration.', '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" + .' }', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SinkDashVectorParameters' => [ + 'description' => 'The Sink DashVector parameters.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'vrs-cn-lbj3ru1***', 'title' => ''], + 'Collection' => ['description' => 'The collection name.', 'type' => 'string', 'required' => false, 'example' => 'collection1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key created in the DashVector console.', 'type' => 'string', 'required' => false, 'example' => 'Q34nExQH7sQ****', 'title' => ''], + 'Operation' => ['description' => 'The DashVector database operation type. Valid values:'."\n" + .'- Delete'."\n" + .'- Upsert', 'type' => 'string', 'required' => false, 'example' => 'Upsert', 'title' => ''], + 'Network' => ['description' => 'The network type. Valid values:'."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork', 'title' => ''], + 'PrimaryKeyId' => [ + 'description' => 'The primary key ID for inserting or deleting records. If this field is not specified, a random primary key ID is used.', 'type' => 'object', 'properties' => [ - 'ClientID' => [ - 'description' => 'The client ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ClientID', - 'maxLength' => 127, - ], - 'ClientSecret' => [ - 'description' => 'The AccessKey secret of the client.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4LY****', - 'maxLength' => 127, - ], + 'Form' => ['description' => 'The transform format. Valid values:'."\n" + .'- JSONPATH'."\n" + .'- TEMPLATE', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH', 'title' => ''], + 'Value' => ['description' => '- If Form is JSONPATH: content extracted by JSONPath.'."\n" + .'- If Form is TEMPLATE: a template variable.'."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'required' => false, 'example' => '$.data.requestId', 'title' => ''], + 'Template' => ['description' => 'The primary key ID template. Specify this parameter only when Form is set to TEMPLATE.', 'type' => 'string', 'required' => false, 'example' => '${ID}', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'HttpMethod' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* HEAD'."\n" - .'* DELETE'."\n" - .'* PUT'."\n" - .'* PATCH'."\n", - 'type' => 'string', + 'Partition' => [ + 'description' => 'The partition. Default value: default.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transform format. Valid values:'."\n" + .'- JSONPATH'."\n" + .'- CONSTANT', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT'."\n", 'title' => ''], + 'Value' => ['description' => '- If Form is CONSTANT: a constant value.'."\n" + .'- If Form is JSONPATH: content extracted by JSONPath.'."\n" + ."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'required' => false, 'example' => 'default', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => 'POST', + 'title' => '', + 'example' => '', ], - 'OAuthHttpParameters' => [ - 'description' => 'The request parameters of OAuth authentication.'."\n", + 'Vector' => [ + 'description' => 'The vector for the record to be inserted into DashVector.', 'type' => 'object', 'properties' => [ - 'BodyParameters' => [ - 'description' => 'The parameters that are configured for the request body.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', + 'Form' => ['description' => 'The transformation format.', 'type' => 'string', 'required' => false, 'example' => 'JSONPATH', 'title' => ''], + 'Value' => ['description' => 'The content extracted by JSONPath.'."\n" + ."\n" + .'> The Value field cannot exceed 10,240 characters.', 'type' => 'string', 'required' => false, 'example' => '$.data.messageBody', 'title' => ''], + 'Template' => ['description' => 'None.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'DashVectorSchemaParameters' => [ + 'description' => 'The schema field definition for table entries when inserting into DashVector. The result after event content transformation must be in JSON format.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ 'type' => 'object', 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request body.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request body.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyValue', - ], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, - ], - 'required' => false, - ], - 'HeaderParameters' => [ - 'description' => 'The parameters that are configured for the request header.'."\n", - 'type' => 'array', - 'items' => [ 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Type' => [ 'type' => 'object', 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyValue', - ], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, - ], - 'required' => false, - ], - 'QueryStringParameters' => [ - 'description' => 'The parameters that are configured for the request path.'."\n", - 'type' => 'array', - 'items' => [ 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Value' => [ 'type' => 'object', 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'valueDemo', - ], + 'Form' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Value' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Template' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'description' => 'Sink Open Source RabbitMQ Parameters', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => ['description' => 'The endpoint.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.1:9876', 'title' => ''], + 'VirtualHostName' => ['description' => 'The virtual host name of RabbitMQ.', 'type' => 'string', 'required' => false, 'example' => 'Vhost1', 'title' => ''], + 'TargetType' => ['description' => 'The target type for message delivery. Valid values:'."\n" + ."\n" + .'- **Exchange:** Messages are routed through an exchange.'."\n" + ."\n" + .'- **Queue:** Messages are delivered directly to a specified queue.', 'type' => 'string', 'required' => false, 'example' => 'Exchange', 'title' => ''], + 'Exchange' => ['description' => 'The exchange name in RabbitMQ. This parameter takes effect when TargetType is set to Exchange.', 'type' => 'string', 'required' => false, 'example' => 'my-exchange', 'title' => ''], + 'QueueName' => ['description' => 'The queue name in RabbitMQ. This parameter takes effect only when TargetType is set to Queue.', 'type' => 'string', 'required' => false, 'example' => 'my-queue', 'title' => ''], + 'Username' => ['description' => 'The username for accessing the RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], + 'Password' => ['description' => 'The password for accessing the RabbitMQ instance.', 'type' => 'string', 'required' => false, 'example' => '****', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6of9452b2pba82c ****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6of9452b2pba82c ****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-uf6of9452b2pba82c ****', 'title' => ''], + 'NetworkType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', 'type' => 'string', 'required' => false, 'example' => 'PublicNetwork'."\n", 'title' => ''], + 'AuthType' => ['description' => 'The authentication type. Valid values:'."\n" + ."\n" + .'- ACL'."\n" + .'- No configuration required', 'type' => 'string', 'required' => false, 'example' => 'ACL', 'title' => ''], + 'RoutingKey' => [ + 'description' => 'The message routing key.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The routing key value.', 'type' => 'string', 'required' => false, 'example' => '{"Form": "CONSTANT", "Value": "my-routing-key"}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Body' => [ + 'description' => 'The message body content.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The raw data value.', 'type' => 'string', 'required' => false, 'example' => '{"key": "value"}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'MessageId' => [ + 'description' => 'The unique identifier of the message.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The message ID value.', 'type' => 'string', 'required' => false, 'example' => '12345', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Properties' => [ + 'description' => 'The additional properties of the message.', + 'type' => 'object', + 'properties' => [ + 'Form' => ['description' => 'The transform format. Default value: CONSTANT.', 'type' => 'string', 'required' => false, 'example' => 'CONSTANT', 'title' => ''], + 'Value' => ['description' => 'The property content.', 'type' => 'string', 'required' => false, 'example' => '{"env": "prod"}', 'title' => ''], + 'Template' => ['description' => 'The template style.', 'type' => 'string', 'required' => false, 'example' => 'The value of ${key} is ${value}!', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], + 'SinkBaiLianParameters' => ['description' => 'Sink BaiLian Parameters', '$ref' => '#/components/schemas/SinkBaiLianParameters', 'required' => false, 'title' => '', 'example' => ''], + 'SinkDataWorksTriggerParameters' => ['$ref' => '#/components/schemas/SinkDataWorksTriggerParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkHttpsParameters' => ['title' => '', 'description' => 'The HTTPS target parameters.', '$ref' => '#/components/schemas/SinkHttpsParameters', 'required' => false, 'example' => ''], + 'SinkApiDestinationParameters' => ['title' => '', 'description' => 'The ApiDestination target parameters.', '$ref' => '#/components/schemas/SinkApiDestinationParameters', 'required' => false, 'example' => ''], + 'SinkOSSParameters' => ['$ref' => '#/components/schemas/SinkOSSParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkRabbitMQMetaParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMetaParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkRabbitMQMsgSyncParameters' => ['$ref' => '#/components/schemas/SinkRabbitMQMsgSyncParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkMQTTParameters' => ['$ref' => '#/components/schemas/SinkMQTTParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SinkAgentRunParameters' => ['$ref' => '#/components/schemas/SinkAgentRunParameters', 'description' => '', 'title' => '', 'example' => ''], ], 'required' => false, + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'RunOptions', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ + 'description' => 'The runtime environment parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****', + 'MaximumTasks' => ['title' => '', 'description' => 'The concurrency.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'ErrorsTolerance' => ['title' => '', 'description' => 'The error tolerance policy: NONE (no error tolerance) or ALL (tolerate all errors).', 'type' => 'string', 'required' => false, 'example' => 'ALL'], + 'RetryStrategy' => [ + 'description' => 'The retry policy when event push fails.', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => ['title' => '', 'description' => 'The retry policy: BACKOFF_RETRY (backoff retry) or EXPONENTIAL_DECAY_RETRY (exponential decay retry).', 'type' => 'string', 'required' => false, 'example' => 'BACKOFF_RETRY'], + 'MaximumEventAgeInSeconds' => ['title' => '', 'description' => 'The maximum retry time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '512'], + 'MaximumRetryAttempts' => ['title' => '', 'description' => 'The maximum number of retry attempts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", - 'type' => 'string', - 'example' => 'success', + 'DeadLetterQueue' => [ + 'description' => 'Specifies whether to enable the dead-letter queue. The dead-letter queue is disabled by default. Messages that exceed the retry policy are discarded.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['title' => '', 'description' => 'The ARN of the dead-letter queue.', 'type' => 'string', 'required' => false, 'example' => 'acs:ram::131733464781****:role/rdstoecsassumekms'."\n"], + 'Network' => ['description' => 'The network type of the dead-letter queue. Valid values:'."\n" + ."\n" + .'- PrivateNetwork'."\n" + .'- PublicNetwork', 'type' => 'string', 'required' => false, 'example' => 'PrivateNetwork', 'title' => ''], + 'VpcId' => ['description' => 'The VPC ID where the dead-letter queue resides.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zehizpoendb3****', 'title' => ''], + 'VSwitchIds' => ['description' => 'The vSwitch ID where the dead-letter queue resides.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ev8asdc6h12345****', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The security group ID of the instance where the dead-letter queue resides.', 'type' => 'string', 'required' => false, 'example' => 'sg-2vcgdxz7o1n9zapp****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', + 'BatchWindow' => [ + 'description' => 'The batch window.', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => ['description' => 'The maximum number of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + 'TimeBasedWindow' => ['description' => 'The maximum time range (in seconds) of events that the window can contain. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, a push is triggered when any window meets the threshold.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Data' => [ - 'description' => 'The returned data.'."\n", + 'BusinessOption' => [ 'type' => 'object', 'properties' => [ - 'ConnectionName' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'example' => 'connection-demo', - ], + 'BusinessMode' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MinCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'MaxCapacityUnitCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], + 'Throttling' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ConnectionAlreadyExist', - 'errorMessage' => 'The Connection already existed!', - ], - [ - 'errorCode' => 'ConnectionCountExceedLimit', - 'errorMessage' => 'The current count of connection, which will exceed the limit quota.', - ], - [ - 'errorCode' => 'BasicRequiredParameterIsEmpty', - 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', - ], - [ - 'errorCode' => 'BasicUserNameLengthExceed', - 'errorMessage' => 'Basic username length cannot exceed 127!', - ], - [ - 'errorCode' => 'BasicPassWordLengthExceed', - 'errorMessage' => 'Basic password length cannot exceed 127!', - ], - [ - 'errorCode' => 'ApiKeyRequiredParameterIsEmpty', - 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', - ], - [ - 'errorCode' => 'ApiKeyNameLengthExceed', - 'errorMessage' => 'Api key name length cannot exceed 127!', - ], - [ - 'errorCode' => 'ApiKeyValueLengthExceed', - 'errorMessage' => 'Api key value length cannot exceed 127!', - ], - [ - 'errorCode' => 'OAuthRequiredParameterIsEmpty', - 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', - ], - [ - 'errorCode' => 'AuthorizationEndpointLengthExceed', - 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', - ], - [ - 'errorCode' => 'ClientIDLengthExceed', - 'errorMessage' => 'ClientID length cannot exceed 127!', - ], - [ - 'errorCode' => 'ClientSecretLengthExceed', - 'errorMessage' => 'ClientSecret length cannot exceed 127!', - ], - [ - 'errorCode' => 'OauthHttpParametersEmpty', - 'errorMessage' => 'OauthHttpParameters is Empty.', - ], - [ - 'errorCode' => 'SecretManagerAPICreateSecretNameFailed', - 'errorMessage' => 'Create secret manager api secret name failed', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', + 'required' => false, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7DA60DED-CD36-5837-B848-C01A23D2****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ConnectionName\\": \\"connection-demo\\"\\n }\\n}","type":"json"}]', - 'title' => 'CreateConnection', - 'description' => 'You can call this API operation to create a connection.'."\n", - ], - 'DeleteApiDestination' => [ - 'summary' => 'Deletes an API destination.', - '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' => 'The name of the API destination.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ApiDestinationName', - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'Transforms', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '382E6272-8E9C-5681-AC96-A8AF0BFAC1A5', - ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', + 'description' => 'The Transform-related configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ARN of the cloud service resource, such as the ARN of a function in Function Compute.', + 'type' => 'object', + 'properties' => [ + 'Arn' => ['description' => 'The ARN of the cloud service resource, such as the ARN of a function in Function Compute.', 'type' => 'string', 'required' => false, 'example' => 'acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func', 'title' => ''], + 'DashScopeTransformParameters' => ['$ref' => '#/components/schemas/DashScopeTransformParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'BaiLianAgentTransformParameters' => ['$ref' => '#/components/schemas/BaiLianAgentTransformParameters', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ApiDestinationNotExist', - 'errorMessage' => 'The api-destination not existed!', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', - 'title' => 'DeleteApiDestination', - 'description' => 'You can call this API operation to delete an API destination.'."\n", - ], - 'DeleteConnection' => [ - 'summary' => 'Deletes a connection.', - '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' => 'The name of the connection that you want to delete.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'connection-name', + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8EF25E37-1750-5D7A-BA56-F8AE081A69C8', - ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'The name [xxxx] of event streaming in request is already exist!', 'title' => ''], + 'RequestId' => ['description' => 'The request ID generated by Alibaba Cloud for this request.', 'type' => 'string', 'example' => '0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5', 'title' => ''], + 'Code' => ['description' => 'The response code. Valid values: Success: The request was successful. Other values indicate error codes. For more information, see Error codes.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Returns true if the operation is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ConnectionNotExist', - 'errorMessage' => 'The Connection not existed!', - ], - [ - 'errorCode' => 'ConnectionBoundApiDestination', - 'errorMessage' => 'The Connection has bound API Destination, deletion is not allowed.', - ], - [ - 'errorCode' => 'SecretManagerAPIDeleteSecretFailed', - 'errorMessage' => 'Delete secret manager api secret failed!', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8EF25E37-1750-5D7A-BA56-F8AE081A69C8\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\"\\n}","type":"json"}]', - 'title' => 'DeleteConnection', - 'description' => 'You can call this API operation to delete a connection.'."\n", - ], - 'GetApiDestination' => [ - 'summary' => 'Queries the information about an API destination.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '163690', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], - ], - 'parameters' => [ + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], + ], + ], + 'title' => 'Modify an event stream', + 'summary' => 'Modifies the basic information, event source information, event filtering pattern, or event target information of an event stream.', + 'description' => 'Modifies the basic information, event source information, event filtering pattern, or event target information of an event stream.', + 'changeSet' => [ + ['createdAt' => '2025-06-04T03:29:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-28T02:59:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-27T06:44:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-24T03:25:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-14T13:06:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-08T14:34:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-26T11:30:49.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-20T11:46:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-11T12:15:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-01-10T05:53:58.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-10-31T11:53:17.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-10T05:42:12.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-09T03:30:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-19T09:20:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-12T03:21:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-28T02:40:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-31T06:16:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-04-09T14:49:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-02-21T08:40:52.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-01-25T08:13:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-28T06:31:21.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-22T14:16:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-11T12:34:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-13T13:10:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T03:32:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-06T12:58:57.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-14T08:06:30.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEventStreaming'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ApiDestinationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the API destination.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'api-destination-name', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B896B484-F16D-59DE-9E23-DD0E5C361108', - ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiDestinationName' => [ - 'description' => 'The name of the API destination.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'ConnectionName' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'example' => 'test-basic', - ], - 'Description' => [ - 'description' => 'The description of the API destination.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'HttpApiParameters' => [ - 'description' => 'The request parameters that are configured for the API destination.'."\n", - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the API destination.'."\n", - 'type' => 'string', - 'example' => 'http://127.0.0.1:8001/api'."\n", - ], - 'Method' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* POST'."\n" - .'* GET'."\n" - .'* DELETE'."\n" - .'* PUT'."\n" - .'* HEAD'."\n" - .'* TRACE'."\n" - .'* PATCH'."\n", - 'type' => 'string', - 'example' => 'POST', - ], - ], - ], - 'GmtCreate' => [ - 'description' => 'The time when the API destination was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1649055710565', - ], - ], - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eventbridge:UpdateEventStreaming', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'EventStreaming', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}'], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ApiDestinationNotExist', - 'errorMessage' => 'The api-destination not existed!', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C361108\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinationName\\": \\"demo\\",\\n \\"ConnectionName\\": \\"test-basic\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\\\n\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1649055710565\\n }\\n}","type":"json"}]', - 'title' => 'GetApiDestination', - 'description' => 'You can call this API operation to query the information about an API destination.'."\n", + '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"}]', + 'translator' => 'machine', ], - 'GetConnection' => [ - 'summary' => 'Queries the configurations of a connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateEventStreamingBusinessOption' => [ + 'summary' => 'Querying an event stream', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -20702,22 +17511,33 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '163694', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => ['FEATUREeventbridgeUWT8SO', 'FEATUREeventbridge70XW1X'], ], 'parameters' => [ [ - 'name' => 'ConnectionName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'connection-name', - ], + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The name of the event stream.', 'type' => 'string', 'required' => true, 'maxLength' => 255, 'minLength' => 2, 'title' => '', 'example' => 'rocketmq-sync'], + ], + [ + 'name' => 'BusinessMode', + 'in' => 'formData', + 'schema' => ['description' => 'The billing mode. Valid values are CapacityUnitMode for the CU mode and EventNumMode for the pay-by-event mode.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'CapacityUnitMode'], + ], + [ + 'name' => 'MinCapacityUnitCount', + 'in' => 'formData', + 'schema' => ['description' => 'The minimum number of CUs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'MaxCapacityUnitCount', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of CUs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -20725,293 +17545,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The returned request ID.'."\n", - 'type' => 'string', - 'example' => '34AD682D-5B91-5773-8132-AA38C130****', - ], - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'HttpCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Connections' => [ - 'description' => 'The queried connections.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectionName' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'Id' => [ - 'description' => 'The data source ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5668', - ], - 'Description' => [ - 'description' => 'The connection description.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'GmtCreate' => [ - 'description' => 'The time when the connection was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1669648905', - ], - 'NetworkParameters' => [ - 'description' => 'The information about the network.'."\n", - 'type' => 'object', - 'properties' => [ - 'NetworkType' => [ - 'description' => '* PublicNetwork: the Internet.'."\n" - .'* PrivateNetwork: virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'eb-test/vpc-bp1symadadwnwg****', - ], - 'VswitcheId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', - ], - ], - ], - 'AuthParameters' => [ - 'description' => 'The authentication methods.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationType' => [ - 'description' => 'The authentication method. Valid values:'."\n" - ."\n" - .'* BASIC_AUTH: basic authentication.'."\n" - .'* API_KEY_AUTH: API key authentication.'."\n" - .'* OAUTH_AUTH: OAuth authentication.'."\n", - 'type' => 'string', - 'example' => 'BASIC_AUTH', - ], - 'ApiKeyAuthParameters' => [ - 'description' => 'The information about API key authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiKeyName' => [ - 'description' => 'The key of the API key.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'ApiKeyValue' => [ - 'description' => 'The value of the API key.'."\n", - 'type' => 'string', - 'example' => 'value', - ], - ], - ], - 'BasicAuthParameters' => [ - 'description' => 'The information about basic authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'Password' => [ - 'description' => 'The password of basic authentication.'."\n", - 'type' => 'string', - 'example' => '********', - ], - 'Username' => [ - 'description' => 'The username of basic authentication.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - ], - ], - 'OAuthParameters' => [ - 'description' => 'The information about OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationEndpoint' => [ - 'description' => 'The endpoint that is used to obtain the OAuth token.'."\n", - 'type' => 'string', - 'example' => 'http://localhost:8080/oauth/token', - ], - 'HttpMethod' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* HEAD'."\n", - 'type' => 'string', - 'example' => 'POST', - ], - 'ClientParameters' => [ - 'description' => 'The information about the client.'."\n", - 'type' => 'object', - 'properties' => [ - 'ClientID' => [ - 'description' => 'The client ID.'."\n", - 'type' => 'string', - 'example' => 'ClientID', - ], - 'ClientSecret' => [ - 'description' => 'The AccessKey secret of the client.'."\n", - 'type' => 'string', - 'example' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f****', - ], - ], - ], - 'OAuthHttpParameters' => [ - 'description' => 'The request parameters of OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'BodyParameters' => [ - 'description' => 'The information about the request body.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request body.'."\n", - 'type' => 'string', - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request body.'."\n", - 'type' => 'string', - 'example' => 'valueDemo', - ], - ], - ], - ], - 'HeaderParameters' => [ - 'description' => 'The information about the request header.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request header.'."\n", - 'type' => 'string', - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request header.'."\n", - 'type' => 'string', - 'example' => 'keyDemo', - ], - ], - ], - ], - 'QueryStringParameters' => [ - 'description' => 'The information about the request path.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request path.'."\n", - 'type' => 'string', - 'example' => 'keyDemo', - ], - 'Value' => [ - 'description' => 'The value of the request path.'."\n", - 'type' => 'string', - 'example' => 'valueDemo', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'Message' => ['description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****', 'title' => ''], + 'Code' => ['description' => 'The status code returned.'."\n" + ."\n" + .'- Success: The request was successful.'."\n" + ."\n" + .'- Other values indicate an error. For more information, see the Error codes section.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values: true and false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the configuration was updated. Valid values: true and false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'description' => 'The data returned.', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ConnectionNotExist', - 'errorMessage' => 'The Connection name not existed!', - ], + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', - ], + [ + ['errorCode' => 'EventStreamingNotExisted', 'errorMessage' => 'the event streaming is not existed.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"HttpCode\\": 200,\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"demo\\",\\n \\"Id\\": 5668,\\n \\"Description\\": \\"demo\\",\\n \\"GmtCreate\\": 1669648905,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwg****\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"key\\",\\n \\"ApiKeyValue\\": \\"value\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"********\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"Qo57Q~F249~S74GmNPA36pZJoJK4f4****\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"keyDemo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'GetConnection', - 'description' => 'You can call this API operation to query the configurations of a connection.'."\n", - ], - 'ListApiDestinations' => [ - 'summary' => 'Queries a list of API destinations.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateEventStreamingBusinessOption', + 'description' => 'Updates the billing method, compute unit (CU) resources, and other configurations of an event stream.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + '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"}]', + 'translator' => 'manual', + ], + 'UpdateNamespace' => [ + 'summary' => 'Modify namespace', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -21020,198 +17604,89 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '163689', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ApiDestinationNamePrefix', - 'in' => 'query', - 'schema' => [ - 'description' => 'The prefix of the API destination name.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'api-demo', - ], - ], - [ - 'name' => 'ConnectionName', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'connection-name', - ], + 'schema' => ['title' => '', 'description' => 'Namespace name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_namespace', 'maxLength' => 127, 'minLength' => 1], ], [ - 'name' => 'MaxResults', + 'name' => 'Comment', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to be returned in a call. You can use this parameter and NextToken to implement paging.'."\n" - ."\n" - .'* Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '', 'description' => 'Remark description', 'type' => 'string', 'example' => '更新后的备注', 'required' => false], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you set Limit and excess return values exist, this parameter is returned.'."\n" - ."\n" - .'* Default value: 0.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E1706BB1', - ], - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned. If the request failed, an error code is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiDestinations' => [ - 'description' => 'The API destinations.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ApiDestinationName' => [ - 'description' => 'The name of the API destination.', - 'type' => 'string', - 'example' => 'api-destination-2', - ], - 'ConnectionName' => [ - 'description' => 'The connection name.', - 'type' => 'string', - 'example' => 'connection-name', - ], - 'Description' => [ - 'description' => 'The description of the connection.', - 'type' => 'string', - 'example' => 'demo', - ], - 'HttpApiParameters' => [ - 'description' => 'The request parameters that are configured for the API destination.', - 'type' => 'object', - 'properties' => [ - 'Endpoint' => [ - 'description' => 'The endpoint of the API destination.', - 'type' => 'string', - 'example' => 'http://127.0.0.1:8001/api', - ], - 'Method' => [ - 'description' => 'The HTTP request method. Valid values:'."\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' => 'The time when the API destination was created.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665223213000', - ], - ], - ], - ], - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Total' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '2', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'Idempotence token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog', 'type' => 'string', 'example' => 'my_catalog', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'API return message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'NamespaceARN' => ['title' => '', 'description' => 'Namespace ARN', 'type' => 'string', 'example' => 'acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace'], ], + 'example' => '', ], + 'Code' => ['title' => '', 'description' => 'API return code. 200 indicates success.', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', + ], + 'title' => 'Edit namespace', + '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 \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E170****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinations\\": [\\n {\\n \\"ApiDestinationName\\": \\"api-destination-2\\",\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1665223213000\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 2,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', - 'title' => 'ListApiDestinations', - 'description' => 'You can use this API operation to query a list of API destinations.'."\n", + '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"}]', + 'translator' => 'machine', ], - 'ListConnections' => [ - 'summary' => 'Queries connections.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21220,47 +17695,37 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '163695', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '38598', + 'abilityTreeNodes' => ['FEATUREeventbridgeS2QNZ9'], ], 'parameters' => [ [ - 'name' => 'ConnectionNamePrefix', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The key word that you specify to query connections. Connections can be queried by prefixes.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'connection-name', - ], + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event bus.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hw-test', 'title' => ''], ], [ - 'name' => 'MaxResults', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The maximum number of entries to be returned in a single call. You can use this parameter and the NextToken parameter to implement paging.'."\n" - ."\n" - .'* Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the event bus.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], ], [ - 'name' => 'NextToken', - 'in' => 'formData', - 'schema' => [ - 'description' => 'If you set the Limit parameter and excess return values exist, this parameter is returned.'."\n" - ."\n" - .'* Default value: 0.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the event rule.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'tf-testacc-rule', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of the event rule. Valid values: ENABLE: The event rule is enabled. It is the default state of the event rule. DISABLE: The event rule is disabled.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ENABLE', 'title' => ''], + ], + [ + 'name' => 'FilterPattern', + 'in' => 'query', + 'schema' => ['description' => 'The event pattern, in JSON format. Valid values: stringEqual stringExpression Each field can have a maximum of five expressions in the map data structure.'."\n" + ."\n" + .'Each field can have a maximum of five expressions in the map data structure.'."\n", 'type' => 'string', 'required' => true, 'example' => '{\\"source\\":[\\"acs.oss\\"],\\"type\\":[\\"oss:BucketQueried:GetBucketStat\\"]}', 'title' => ''], ], ], 'responses' => [ @@ -21268,300 +17733,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use the ID to troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'E3619976-8714-5D88-BBA2-6983D798A8BB', - ], - 'Message' => [ - 'description' => 'The message returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The HTTP status code. The value Success indicates that the request is successful.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Connections' => [ - 'description' => 'The connections.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectionName' => [ - 'description' => 'The connection name.'."\n", - 'type' => 'string', - 'example' => 'connection-name', - ], - 'Description' => [ - 'description' => 'The connection description.'."\n", - 'type' => 'string', - 'example' => 'The description of the connection.', - ], - 'Id' => [ - 'description' => 'The ID of the connection.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1141093', - ], - 'GmtCreate' => [ - 'description' => 'The time when the connection was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592838994234', - ], - 'NetworkParameters' => [ - 'description' => 'The parameters that are returned for the network.'."\n", - 'type' => 'object', - 'properties' => [ - 'NetworkType' => [ - 'description' => '* PublicNetwork: the Internet.'."\n" - .'* PrivateNetwork: virtual private cloud (VPC).'."\n", - 'type' => 'string', - 'example' => 'PublicNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'eb-test/vpc-bp1symadadwnwgmqud', - ], - 'VswitcheId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', - ], - ], - ], - 'AuthParameters' => [ - 'description' => 'The parameters that are returned for authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationType' => [ - 'description' => 'The authentication method. Valid values:'."\n" - ."\n" - .'* BASIC_AUTH: basic authentication.'."\n" - .'* API_KEY_AUTH: API key authentication.'."\n" - .'* OAUTH_AUTH: OAuth authentication.'."\n", - 'type' => 'string', - 'example' => 'BASIC_AUTH', - ], - 'ApiKeyAuthParameters' => [ - 'description' => 'The parameters that are returned for API key authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiKeyName' => [ - 'description' => 'The key of the API key.'."\n", - 'type' => 'string', - 'example' => 'Token', - ], - 'ApiKeyValue' => [ - 'description' => 'The value of the API key.'."\n", - 'type' => 'string', - 'example' => 'asdkjnqkwejooa', - ], - ], - ], - 'BasicAuthParameters' => [ - 'description' => 'The parameters that are returned for basic authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'Password' => [ - 'description' => 'The password for basic authentication.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - 'Username' => [ - 'description' => 'The username for basic authentication.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - ], - ], - 'OAuthParameters' => [ - 'description' => 'The parameters that are returned for OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationEndpoint' => [ - 'description' => 'The endpoint that is used to obtain the OAuth token.'."\n", - 'type' => 'string', - 'example' => 'http://localhost:8080/oauth/token', - ], - 'HttpMethod' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* HEAD'."\n", - 'type' => 'string', - 'example' => 'POST', - ], - 'ClientParameters' => [ - 'description' => 'The parameters that are returned for the client.'."\n", - 'type' => 'object', - 'properties' => [ - 'ClientID' => [ - 'description' => 'The client ID.'."\n", - 'type' => 'string', - 'example' => 'ClientID', - ], - 'ClientSecret' => [ - 'description' => 'The AccessKey secret of the client.'."\n", - 'type' => 'string', - 'example' => 'ClientSecret', - ], - ], - ], - 'OAuthHttpParameters' => [ - 'description' => 'The request parameters of OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'BodyParameters' => [ - 'description' => 'The parameters that are configured for the request.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request body.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request body.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - ], - ], - ], - 'HeaderParameters' => [ - 'description' => 'The parameters that are returned for the request header.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request header.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request header.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - ], - ], - ], - 'QueryStringParameters' => [ - 'description' => 'The parameters that are returned for the request path.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Indicates whether authentication is enabled.'."\n", - 'type' => 'string', - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request path.'."\n", - 'type' => 'string', - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request path.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'Total' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1', - ], - 'MaxResults' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - ], - ], + 'Message' => ['description' => 'The error message that is returned if the request failed.'."\n", 'type' => 'string', 'example' => 'EventRuleFilterPatternSchemaError', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7439944D-D9FC-5614-B65E-07A468988924', 'title' => ''], + 'Data' => ['description' => 'The result of the operation.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Code' => ['description' => 'The response code. The value Success indicates that the request was successful. Other values indicate that the request failed. For information about error codes, see Error codes.'."\n", 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleFilterPatternSchemaError\\",\\n \\"RequestId\\": \\"7439944D-D9FC-5614-B65E-07A468988924\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateRule', + 'summary' => 'Updates the configurations of an event rule.', + 'description' => 'You can call this API operation to update the configurations of an event rule.'."\n", + 'changeSet' => [ + ['createdAt' => '2024-04-09T14:49:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-07-25T10:34:41.000Z', 'description' => 'Request parameters changed'], + ], + '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 \\"RequestId\\": \\"E3619976-8714-5D88-BBA2-6983D798A8BB\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"连接配置描述信息\\",\\n \\"Id\\": 1141093,\\n \\"GmtCreate\\": 1592838994234,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwgmqud\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"Token\\",\\n \\"ApiKeyValue\\": \\"asdkjnqkwejooa\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"admin\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"ClientSecret\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ],\\n \\"NextToken\\": \\"0\\",\\n \\"Total\\": 1,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', - 'title' => 'ListConnections', - 'description' => 'You can call this API operation to query connections.'."\n", - ], - 'UpdateConnection' => [ - 'summary' => 'Updates a connection.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + ], + 'UpdateTable' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -21570,2082 +17786,1522 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '163692', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeRBNSGL', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => ['FEATUREeventbridgeHELDSX'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ConnectionName', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Table name', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my_table', 'maxLength' => 127, 'minLength' => 1], + ], + [ + 'name' => 'Catalog', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Data catalog to which it belongs', 'type' => 'string', 'required' => false, 'example' => 'my_catalog', 'maxLength' => 255], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Idempotency token', 'type' => 'string', 'example' => '1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f', 'required' => false], + ], + [ + 'name' => 'Namespace', 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Namespace to which it belongs', 'type' => 'string', 'example' => 'my_namespace', 'required' => false], + ], + [ + 'name' => 'AddColumn', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The name of the connection that you want to update. The name must be 2 to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'connection-name', - 'maxLength' => 127, - 'minLength' => 2, + 'title' => '', + 'description' => 'Add column', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The full name of the queried event type.', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + 'Type' => ['description' => 'The event target type. For more information, see [Event target parameters](~~185887~~).', 'type' => 'string', 'required' => false, 'example' => 'custom', 'title' => ''], + 'Comment' => ['description' => 'Comment.', 'type' => 'string', 'required' => false, 'example' => '接口授权_刘宏月_申请测试环境服务器资源访问权限_2026-07-06', 'title' => ''], + ], + 'required' => false, + 'example' => '{"Name":"id","Type":"bigint","Comment":"主键"}', ], ], [ - 'name' => 'Description', + 'name' => 'DeleteColumn', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'Delete column', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Connector name.', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + ], + 'required' => false, + 'example' => '{"Name":"old_column"}', + ], + ], + [ + 'name' => 'UpdateColumnType', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The description of the connection. The description can be up to 255 characters in length.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'Update column type', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Connector name', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + 'Type' => ['description' => 'Column type', 'type' => 'string', 'required' => false, 'example' => 'PRIVATE', 'title' => ''], + ], 'required' => false, - 'example' => 'The description of the connection.', - 'maxLength' => 255, + 'example' => '{"Name":"id","Type":"bigint"}', ], ], [ - 'name' => 'NetworkParameters', + 'name' => 'UpdateColumnComment', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The parameters that are configured for the network.'."\n", + 'title' => '', + 'description' => 'Update column comment', 'type' => 'object', 'properties' => [ - 'NetworkType' => [ - 'description' => '* PublicNetwork: the Internet.'."\n" - .'* PrivateNetwork: virtual private cloud (VPC).'."\n" - ."\n" - .'> If you set this parameter to PrivateNetwork, you must also configure VpcId, VswitchId, and SecurityGroupId.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'PublicNetwork', - ], - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-test/vpc-bp1symadadwnwgmqud'."\n", - ], - 'VswitcheId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c', - ], - 'SecurityGroupId' => [ - 'description' => 'The security group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb', - ], + 'Name' => ['description' => 'Extended data name', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + 'Comment' => ['description' => 'Comment information.', 'type' => 'string', 'required' => false, 'example' => 'DIUS Dev 环境', 'title' => ''], + ], + 'required' => false, + 'example' => '{"Name":"id","Comment":"主键ID"}', + ], + ], + [ + 'name' => 'UpdateRetentionPolicy', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'Update retention policy', + 'type' => 'object', + 'properties' => [ + 'HotTTL' => ['description' => 'Hot storage duration', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '7', 'title' => ''], + 'ColdTTL' => ['description' => 'Cold storage duration', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '17', 'title' => ''], ], - 'required' => true, + 'required' => false, + 'example' => '{"HotTTL":7,"ColdTTL":30}', ], ], [ - 'name' => 'AuthParameters', + 'name' => 'RenameColumn', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The parameters that are configured for authentication.'."\n", + 'title' => '', + 'description' => 'Rename column', 'type' => 'object', 'properties' => [ - 'AuthorizationType' => [ - 'description' => 'The authentication type. Valid values:'."\n" - ."\n" - .'* BASIC: basic authentication. Basic authentication is a simple authentication scheme built into the HTTP protocol. When you use the HTTP protocol for communications, the authentication method that the HTTP server uses to authenticate user identities on the client is defined in the protocol. The request header is in the Authorization: Basic Base64-encoded string (`Username:Password`) format. If you use this authentication method, you must configure Username and Password.'."\n" - .'* API_KEY_AUTH: API key authentication. The request header is in the Token: Token value format. If you use this authentication method, you must configure ApiKeyName and ApiKeyValue.'."\n" - .'* OAUTH_AUTH: OAuth authentication. OAuth2.0 is an authentication mechanism. In normal cases, a system that does not use OAuth2.0 can access the resources of the server from the client. To ensure access security, access tokens are used to authenticate users in OAuth 2.0. The client must use an access token to access protected resources. This way, OAuth 2.0 protects resources from being accessed from malicious clients and improves system security. If you use this authentication method, you must configure AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'BASIC_AUTH', - ], - 'ApiKeyAuthParameters' => [ - 'description' => 'The parameters configured for API key authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApiKeyName' => [ - 'description' => 'The key of the API key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name', - 'maxLength' => 127, - ], - 'ApiKeyValue' => [ - 'description' => 'The value of the API key.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - 'maxLength' => 127, - ], - ], - 'required' => false, - ], - 'BasicAuthParameters' => [ - 'description' => 'The parameters that are configured for basic authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'Password' => [ - 'description' => 'The password for basic authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - 'maxLength' => 127, - ], - 'Username' => [ - 'description' => 'The username for basic authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - 'maxLength' => 127, - ], - ], - 'required' => false, - ], - 'OAuthParameters' => [ - 'description' => 'The parameters that are configured for OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'AuthorizationEndpoint' => [ - 'description' => 'The endpoint that is used to obtain the OAuth token. The endpoint can be up to 127 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'http://localhost:8080/oauth/token', - 'maxLength' => 127, - ], - 'ClientParameters' => [ - 'description' => 'The parameters that are configured for the client.'."\n", - 'type' => 'object', - 'properties' => [ - 'ClientID' => [ - 'description' => 'The client ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ClientID', - 'maxLength' => 127, - ], - 'ClientSecret' => [ - 'description' => 'The AccessKey secret of the client.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ClientSecret', - 'maxLength' => 127, - ], - ], - 'required' => false, - ], - 'HttpMethod' => [ - 'description' => 'The HTTP request method. Valid values:'."\n" - ."\n" - .'* GET'."\n" - .'* POST'."\n" - .'* HEAD'."\n" - .'* DELETE'."\n" - .'* PUT'."\n" - .'* PATCH'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'POST', - ], - 'OAuthHttpParameters' => [ - 'description' => 'The request parameters of OAuth authentication.'."\n", - 'type' => 'object', - 'properties' => [ - 'BodyParameters' => [ - 'description' => 'The parameters that are configured for the request body.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters that are configured for the request body.'."\n", - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request body.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request body.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'HeaderParameters' => [ - 'description' => 'The parameters that are configured for the request header.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters that are configured for the request header.'."\n", - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request header.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'QueryStringParameters' => [ - 'description' => 'The parameters that are configured for the request path.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters that are configured for the request path.'."\n", - 'type' => 'object', - 'properties' => [ - 'IsValueSecret' => [ - 'description' => 'Specifies whether to enable authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - 'Key' => [ - 'description' => 'The key of the request path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], - 'Value' => [ - 'description' => 'The value of the request path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'Name' => ['description' => 'Connector name.', 'type' => 'string', 'required' => false, 'example' => 'kafka-default-agent-alikafka_pre-cn-28t3sfzno003', 'title' => ''], + 'NewName' => ['description' => 'The updated name. Enter this when you need to modify the metric name.', 'type' => 'string', 'required' => false, 'example' => 'fvt-oos-application-group-56ca74b000', 'title' => ''], ], 'required' => false, + 'example' => '{"Name":"old_name","NewName":"new_name"}', ], ], + [ + 'name' => 'UpdateComment', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'Update table comment', 'type' => 'string', 'example' => '更新后的备注', 'required' => false], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8346BE8F-40F3-533D-A0B8-1359C31BD5BA', - ], - 'Message' => [ - 'description' => 'The returned message.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'Code' => [ - 'description' => 'The response code. Valid value: 200, which indicates that the request was successful.'."\n", - 'type' => 'string', - 'example' => 'Success', + 'Message' => ['title' => '', 'description' => 'API return message', 'type' => 'string', 'example' => 'Operation success'], + 'RequestId' => ['title' => '', 'description' => 'Request ID', 'type' => 'string', 'example' => '34AD682D-5B91-5773-8132-AA38C130****'], + 'Data' => [ + 'title' => '', + 'description' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'TableARN' => ['title' => '', 'description' => 'Table 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' => 'Return code', 'type' => 'string', 'example' => '200'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the operation was successful', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 409 => [ - [ - 'errorCode' => 'RequestParameterException', - 'errorMessage' => 'Request parameter exception', - ], - [ - 'errorCode' => 'ConnectionNotExist', - 'errorMessage' => 'The Connection not existed!', - ], - [ - 'errorCode' => 'SecretManagerAPIDeleteSecretFailed', - 'errorMessage' => 'Delete secret manager api secret failed!', - ], - [ - 'errorCode' => 'BasicRequiredParameterIsEmpty', - 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', - ], - [ - 'errorCode' => 'BasicUserNameLengthExceed', - 'errorMessage' => 'Basic username length cannot exceed 127!', - ], - [ - 'errorCode' => 'BasicPassWordLengthExceed', - 'errorMessage' => 'Basic password length cannot exceed 127!', - ], - [ - 'errorCode' => 'ApiKeyRequiredParameterIsEmpty', - 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', - ], - [ - 'errorCode' => 'ApiKeyNameLengthExceed', - 'errorMessage' => 'Api key name length cannot exceed 127!', - ], - [ - 'errorCode' => 'ApiKeyValueLengthExceed', - 'errorMessage' => 'Api key value length cannot exceed 127!', - ], - [ - 'errorCode' => 'OAuthRequiredParameterIsEmpty', - 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', - ], - [ - 'errorCode' => 'AuthorizationEndpointLengthExceed', - 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', - ], - [ - 'errorCode' => 'ClientIDLengthExceed', - 'errorMessage' => 'ClientID length cannot exceed 127!', - ], - [ - 'errorCode' => 'ClientSecretLengthExceed', - 'errorMessage' => 'ClientSecret length cannot exceed 127!', - ], - [ - 'errorCode' => 'OauthHttpParametersEmpty', - 'errorMessage' => 'OauthHttpParameters is Empty.', - ], - [ - 'errorCode' => 'SecretManagerAPICreateSecretNameFailed', - 'errorMessage' => 'Create secret manager api secret name failed!', - ], - [ - 'errorCode' => 'SecretManagerAPIGetSecretValueFailed', - 'errorMessage' => 'Get secret manager api secret value failed!', - ], + 403 => [ + ['errorCode' => 'ServiceNotEnable', 'errorMessage' => 'Service not enable', 'description' => ''], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'InternalError', + ], + 'title' => 'Update table', + 'summary' => 'Update table', + 'description' => 'Updates the configuration of an event rule.', + '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 \\"RequestId\\": \\"8346BE8F-40F3-533D-A0B8-1359C31BD5BA\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', - 'title' => 'UpdateConnection', - 'description' => 'You can call this API operation to update a connection.'."\n", + '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"}]', + 'translator' => 'machine', ], - 'CreateServiceLinkedRoleForProduct' => [ - 'summary' => 'Creates a service-linked role for your cloud service.', - 'methods' => [ - 'post', - 'get', + ], + 'endpoints' => [ + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Philippines (Manila)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', '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' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', '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' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', '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' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', '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' => ''], + ['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' => ''], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'EventCenterQueryEvents'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-10-18T09:29:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateRule'], + ['description' => 'Response parameters changed', 'api' => 'ListTargets'], + ['description' => 'Request parameters changed', 'api' => 'PutTargets'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-09-25T13:03:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-09-10T05:42:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-09-09T03:30:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-08-19T09:20:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'EventCenterQueryEvents'], + ], + 'createdAt' => '2024-08-05T06:20:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-07-12T03:21:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-06-28T02:40:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-05-31T06:16:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateEventBus'], + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'CreateServiceLinkedRoleForProduct'], + ['description' => 'Response parameters changed', 'api' => 'DeleteEventBus'], + ], + 'createdAt' => '2024-04-09T14:49:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DeleteEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'PauseEventStreaming'], + ], + 'createdAt' => '2024-03-14T07:21:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateRule'], + ], + 'createdAt' => '2024-02-29T11:06:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ], + 'createdAt' => '2024-02-28T01:43:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ], + 'createdAt' => '2024-02-27T11:48:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-02-21T08:41:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DisableRule'], + ['description' => 'Response parameters changed', 'api' => 'EnableRule'], + ], + 'createdAt' => '2024-02-21T07:02:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ], + 'createdAt' => '2024-02-19T06:14:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'StartEventStreaming'], + ], + 'createdAt' => '2024-02-01T06:13:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2024-01-25T08:13:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2023-12-28T06:31:38.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2023-11-22T14:17:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryEvent'], + ], + 'createdAt' => '2023-11-07T07:03:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventSource'], + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventSource'], + ], + 'createdAt' => '2023-10-19T06:44:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2023-10-11T12:34:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2023-09-13T13:10:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateApiDestination'], + ['description' => 'Error codes changed', 'api' => 'CreateConnection'], + ['description' => 'Error codes changed', 'api' => 'DeleteApiDestination'], + ['description' => 'Error codes changed', 'api' => 'DeleteConnection'], + ['description' => 'Error codes changed', 'api' => 'GetApiDestination'], + ['description' => 'Error codes changed, Response parameters changed', 'api' => 'GetConnection'], + ['description' => 'Error codes changed', 'api' => 'ListApiDestinations'], + ['description' => 'Error codes changed, Response parameters changed', 'api' => 'ListConnections'], + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'UpdateApiDestination'], + ['description' => 'Error codes changed', 'api' => 'UpdateConnection'], + ], + 'createdAt' => '2023-09-13T11:38:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventSource'], + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ], + 'createdAt' => '2023-08-01T14:56:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventBus'], + ['description' => 'Request parameters changed', 'api' => 'CreateEventSource'], + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventBus'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventSource'], + ], + 'createdAt' => '2023-08-01T13:14:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListUserDefinedEventSources'], + ], + 'createdAt' => '2023-07-04T12:57:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetRule'], + ['description' => 'Response parameters changed', 'api' => 'ListRules'], + ['description' => 'Response parameters changed', 'api' => 'ListTargets'], + ], + 'createdAt' => '2023-07-04T02:53:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListEventStreamings'], + ], + 'createdAt' => '2023-06-09T05:52:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed', 'api' => 'ListEventStreamings'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventStreaming'], + ], + 'createdAt' => '2023-04-21T03:32:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEventBus'], + ['description' => 'Request parameters changed', 'api' => 'CreateEventSource'], + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateEventBus'], + ['description' => 'Request parameters changed', 'api' => 'UpdateEventSource'], + ], + 'createdAt' => '2023-04-21T02:33:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateApiDestination'], + ['description' => 'Request parameters changed', 'api' => 'CreateConnection'], + ['description' => 'Request parameters changed', 'api' => 'UpdateApiDestination'], + ['description' => 'Request parameters changed', 'api' => 'UpdateConnection'], + ], + 'createdAt' => '2023-04-12T13:40:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListApiDestinations'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListEventStreamings'], + ], + 'createdAt' => '2023-04-10T09:25:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'CreateApiDestination'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateConnection'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateEventSource'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateEventStreaming'], + ['description' => 'Request parameters changed', 'api' => 'DeleteApiDestination'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetApiDestination'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'GetConnection'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'ListAliyunOfficialEventSources'], + ], + 'createdAt' => '2023-04-06T12:59:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateEventStreaming'], + ['description' => 'OpenAPI offline', 'api' => 'CreateEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'ListEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'ListEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'PauseEventStreaming'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'PauseEventStreaming'], + ], + 'createdAt' => '2022-09-14T08:07:36.000Z', + 'description' => '支持事件流相关接口', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetRule'], + ], + 'createdAt' => '2022-08-17T06:23:37.000Z', + 'description' => '增加deadLetterQueue', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateRule'], + ], + 'createdAt' => '2021-08-06T11:01:43.000Z', + 'description' => 'EventBridge API 初始化', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListAliyunOfficialEventSources'], + ['description' => 'Response parameters changed', 'api' => 'ListUserDefinedEventSources'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '38602', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', - 'FEATUREeventbridgeR7SE45', - 'FEATUREeventbridgeS2QNZ9', - 'FEATUREeventbridge6VIARK', - 'FEATUREeventbridgeWAGKXS', - ], + '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' => 'EventBridge', + 'ramCodes' => ['eventbridge'], + 'ramLevel' => 'RESOURCE', + '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'], ], - 'parameters' => [ - [ - 'name' => 'ProductName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the cloud service or the name of the service-linked role with which the cloud service is associated. Valid values:'."\n" - ."\n" - .'* AliyunServiceRoleForEventBridgeSendToFC: allows EventBridge to deliver events to Function Compute.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToSMS: allows EventBridge to deliver events to Short Message Service (SMS).'."\n" - .'* AliyunServiceRoleForEventBridgeSendToDirectMail: allows EventBridge to deliver events to Direct Mail.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceRocketMQ: allows EventBridge to integrate with ApsaraMQ for RocketMQ.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceMNS: allows EventBridge to integrate with Simple Message Queue (SMQ, formerly MNS).'."\n" - .'* AliyunServiceRoleForEventBridgeConnectVPC: allows EventBridge to access virtual private clouds (VPCs).'."\n" - .'* AliyunServiceRoleForEventBridgeSourceActionTrail: allows EventBridge to integrate with ActionTrail.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceRabbitMQ: allows EventBridge to integrate with ApsaraMQ for RabbitMQ.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToRabbitMQ: allows EventBridge to deliver events to ApsaraMQ for RabbitMQ.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToRocketMQ: allows EventBridge to deliver events to ApsaraMQ for RocketMQ.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceCMS: allow EventBridge to integrate with CloudMonitor.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToKafka: allows EventBridge to deliver events to ApsaraMQ for Kafka.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceKafka: allows EventBridge to integrate with ApsaraMQ for Kafka.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToRDS: allows EventBridge to deliver events to ApsaraDB RDS.'."\n" - .'* AliyunServiceRoleForEventBridgeSendToSAE: allows EventBridge to deliver events to Serverless App Engine (SAE).'."\n" - .'* AliyunServiceRoleForEventBridgeSourceMqtt: allows EventBridge to integrate with ApsaraMQ for MQTT.'."\n" - .'* AliyunServiceRoleForEventBridgeSourceSLS: allows EventBridge to integrate with Simple Log Service.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'AliyunServiceRoleForEventBridgeSendToMNS', + ], + '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/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned message. If the request is successful, success is returned.'."\n", - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C36345A1-75F3-5A1A-BFCF-33B8271971FA', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'HttpCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + '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}'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + 'apiName' => 'GetCatalog', + 'description' => '', + '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\\": \\"success\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B8271971FA\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => 'CreateServiceLinkedRoleForProduct', - 'description' => 'You can call this API operation to create a service-linked role for your cloud service.'."\n", - ], - 'ListTargets' => [ - 'summary' => 'Queries all event targets of an event rule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'QueryEventHouse', + 'description' => '', 'operationType' => 'list', - 'abilityTreeCode' => '38609', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', - ], - ], - 'parameters' => [ - [ - 'name' => 'EventBusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my-event-bus', + 'ramAction' => [ + 'action' => 'eventbridge:QueryEventHouse', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Table', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:table/{#TableId}'], ], ], - [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of returned entries in a call.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + '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}'], ], ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tf-testacc-rule', + ], + [ + '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/*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'If you configure Limit and excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', + ], + [ + '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/*'], ], ], - [ - 'name' => 'Arn', - 'in' => 'query', - 'schema' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:fc:cn-hangzhou:118609547428****:services/fc-connector.a1/functions/event', + ], + [ + 'apiName' => 'GetApiDestination', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:GetApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => 'The returned error message.'."\n", - 'type' => 'string', - 'example' => 'EventRuleNotExisted', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB2261B9', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Targets' => [ - 'description' => 'The event targets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event target.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of the event target. For more information, see [Event target parameters](~~183698~~).'."\n", - 'type' => 'string', - 'example' => 'acs.fc.function ', - ], - 'Endpoint' => [ - 'description' => 'The endpoint of the event target.'."\n", - 'type' => 'string', - 'example' => 'acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC ', - ], - 'ParamList' => [ - 'description' => 'The parameters that are configured for the event target.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'description' => 'The value of the event target parameter.'."\n", - 'type' => 'string', - 'example' => '{\\"key\\"=\\"value\\"}', - ], - 'Template' => [ - 'description' => 'The template that is used by the event target parameter.'."\n", - 'type' => 'string', - 'example' => 'The value of ${key} is ${value}! ', - ], - 'Form' => [ - 'description' => 'The format that is used by the event target parameter.'."\n", - 'type' => 'string', - 'example' => 'TEMPLATE', - ], - 'ResourceKey' => [ - 'description' => 'The resource parameter of the event target.'."\n", - 'type' => 'string', - 'example' => 'body', - ], - ], - ], - ], - 'ErrorsTolerance' => [ - 'description' => 'The fault tolerance policy. Valid values: ALL and NONE. '."\n" - ."\n" - .'- **ALL**: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. '."\n" - .'- **NONE**: Fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.', - 'type' => 'string', - 'example' => 'ALL', - ], - 'Id' => [ - 'description' => 'The ID of the event target.'."\n", - 'type' => 'string', - 'example' => '1453', - ], - 'EventBusName' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'example' => 'sls-beijing-one1-tf', - ], - 'RuleName' => [ - 'description' => 'The name of the event rule.'."\n", - 'type' => 'string', - 'example' => 'rule-uKAK2', - ], - 'ConcurrentConfig' => [ - 'description' => 'The concurrency configuration.'."\n", - 'type' => 'object', - 'properties' => [ - 'Concurrency' => [ - 'description' => 'The maximum number of concurrent events allowed in the event target.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], - ], - ], - 'NextToken' => [ - 'description' => 'If excess return values exist, this parameter is returned.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Total' => [ - 'description' => 'The total number of entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - ], - ], - 'Code' => [ - 'description' => 'The returned response code. Valid values:'."\n" - ."\n" - .'* Success: The request is successful.'."\n" - .'* Other codes: The request failed. For a list of error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the request is successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + '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}'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + '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}'], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Data\\": {\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.fc.function \\",\\n \\"Endpoint\\": \\"acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC \\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}! \\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"Id\\": \\"1453\\",\\n \\"EventBusName\\": \\"sls-beijing-one1-tf\\",\\n \\"RuleName\\": \\"rule-uKAK2\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 10\\n }\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 18\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'ListTargets', - ], - 'TestEventPattern' => [ - 'summary' => 'Checks whether the event pattern matches the provided JSON format.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '163686', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeS2QNZ9', + [ + '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}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Event', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The event.'."\n", - '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" - .'}', + [ + '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}'], ], ], - [ - 'name' => 'EventPattern', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The event pattern.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"key1": "value1"}', + ], + [ + '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}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response object.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '96D7C0AB-DCE5-5E82-96B8-4725E1706BB1', - ], - 'Message' => [ - 'description' => 'The error message returned if the request failed.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Code' => [ - 'description' => 'The returned response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For more information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation is successful. If the operation is successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'description' => 'The returned result.'."\n", - 'type' => 'object', - 'properties' => [ - 'Result' => [ - 'description' => 'The value true indicates that the event pattern matches the provided JSON format. The value false indicates that the event pattern does not match the provided JSON format.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], + [ + '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}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E1706BB1\\",\\n \\"Message\\": \\"无\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Result\\": true\\n }\\n}","type":"json"}]', - 'title' => 'TestEventPattern', - 'description' => 'You can call this API operation to check whether the event pattern matches the provided JSON format.'."\n", - ], - 'EventCenterQueryEvents' => [ - 'summary' => 'EventCenterQueryEvents', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '220116', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeNPJI6M', - 'FEATUREeventbridgeKIJSNP', + [ + '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}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'BusName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the event bus.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'default', - 'default' => 'default', + [ + 'apiName' => 'DeleteAgent', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '用来标记当前开始读取的位置。置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => '100', + ], + [ + 'apiName' => 'GetAgent', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:GetAgent', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 0 to 10000. Default value: 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '10000', - 'minimum' => '0', - 'example' => '100', - 'default' => '100', + ], + [ + 'apiName' => 'TestEventSourceConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:TestEventSourceConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Body', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The request body.'."\n", - 'type' => 'object', - 'properties' => [ - 'SchemaId' => [ - 'description' => 'The schema ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs:GeneralSchema', - ], - 'QueryType' => [ - 'description' => 'The query type. Valid values:'."\n" - ."\n" - .'* **timeseries**: queries time series data.'."\n" - .'* **table**: queries table data.'."\n" - .'* **timeseries_and_table**: queries time series data and table data at the same time.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'timeseries_and_table', - 'enum' => [ - 'timeseries', - 'table', - 'timeseries_and_table', - ], - ], - 'Parameters' => [ - 'description' => 'The query parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Breakdowns' => [ - 'description' => 'Specifies whether to further split the dataset based on the column name.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the column based on which data is split.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'source', - ], - 'required' => false, - ], - 'Calculations' => [ - 'description' => 'The operator that is used to calculate the specified column.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Op' => [ - 'description' => 'The operator.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'COUNT_DISTINCT', - 'enum' => [ - 'COUNT', - 'SUM', - 'AVG', - 'COUNT_DISTINCT', - 'MAX', - 'MIN', - 'P50', - 'P90', - 'P95', - 'P99', - ], - ], - 'Column' => [ - 'description' => 'The column name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'source', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'Filters' => [ - 'description' => 'The filter conditions.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Column' => [ - 'description' => 'The column name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'source', - ], - 'Op' => [ - 'description' => 'The operator.'."\n", - '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' => 'The values that are used together with the operator.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'If the value is a string, you must enclose it in a pair of single quotation marks (\'\').'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '\'acs.ecs\'', - ], - 'required' => false, - ], - 'NestedFilterCombination' => [ - 'type' => 'string', - 'required' => false, - 'default' => 'AND', - 'enum' => [ - 'AND', - 'OR', - ], - 'example' => 'AND', - ], - 'NestedFilters' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Column' => [ - 'type' => 'string', - 'required' => false, - ], - 'Op' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - '=', - '!=', - '>', - '>=', - '<', - '<=', - 'exists', - 'does-not-exist', - 'starts-with', - 'does-not-start-with', - 'contains', - 'does-not-contain', - 'in', - 'not-in', - 'text-match', - ], - ], - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'FilterCombination' => [ - 'description' => 'The logic used to filter the combination of conditions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AND', - 'default' => 'AND', - 'enum' => [ - 'AND', - 'OR', - ], - ], - 'Granularity' => [ - 'description' => 'The minimum time unit for querying time series data. Minimum value: 1. Unit: seconds. The value of this parameter is a recommended value. The actual value returned shall prevail.'."\n", - 'type' => 'integer', - 'required' => false, - 'example' => '30', - ], - 'Orders' => [ - 'description' => 'The order of the query results. This parameter is valid only if you set QueryType to table.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Op' => [ - 'description' => 'The operator.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AVG', - 'enum' => [ - 'COUNT', - 'SUM', - 'AVG', - 'COUNT_DISTINCT', - 'MAX', - 'MIN', - 'P50', - 'P90', - 'P95', - 'P99', - ], - ], - 'Column' => [ - 'description' => 'The column name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'source', - ], - 'Desc' => [ - 'description' => 'Specifies whether to sort the query results in descending order.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - 'description' => '', - ], - 'required' => false, - ], - 'Offset' => [ - 'description' => 'The offset of the start position for this query. The offset starts from 0.'."\n", - 'type' => 'integer', - 'required' => false, - 'example' => '0', - ], - 'Limit' => [ - 'description' => 'The maximum number of events to query. Valid values: 1 to 10000.'."\n", - 'type' => 'integer', - 'required' => false, - 'example' => '100', - ], - 'TimeRange' => [ - 'description' => 'The time range during which events are queried. Minimum value: 1000. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000000', - ], - 'StartTime' => [ - 'description' => 'The timestamp that specifies the beginning of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '946684800000', - 'example' => '1687860901814', - ], - 'EndTime' => [ - 'description' => 'The timestamp that specifies the end of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '946684800000', - 'example' => '1687861201814', - ], - ], - 'required' => true, - ], - ], - 'required' => true, + ], + [ + 'apiName' => 'CreateServiceLinkedRoleForProduct', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eventbridge:CreateServiceLinkedRoleForProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - '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' => '', - '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' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '76', - ], - 'TimeSeries' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RowData' => [ - 'description' => '', - 'type' => 'object', - 'example' => '{'."\n" - .' "id":"xxx",'."\n" - .' "source":"acs.ecs"'."\n" - .'}', - ], - 'Time' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1683561600000', - ], - ], - ], - ], - 'Table' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RowData' => [ - 'description' => '', - 'type' => 'object', - 'example' => '{'."\n" - .' "id":"xxx",'."\n" - .' "source":"acs.ecs"'."\n" - .'}', - ], - ], - ], - ], - ], - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'QueryAskLumaLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:QueryAskLumaLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + '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}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-XXXXXXXX\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"100\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 76,\\n \\"TimeSeries\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n },\\n \\"Time\\": \\"1683561600000\\"\\n }\\n ],\\n \\"Table\\": [\\n {\\n \\"RowData\\": {\\n \\"id\\": \\"xxx\\",\\n \\"source\\": \\"acs.ecs\\"\\n }\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'EventCenterQueryEvents', - ], - 'CheckServiceLinkedRoleForProduct' => [ - 'summary' => 'Checks whether a service-linked role is created for an Alibaba Cloud account.', - 'methods' => [ - 'post', - 'get', + [ + '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/*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '38628', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeHELDSX', - 'FEATUREeventbridgeR7SE45', - 'FEATUREeventbridgeS2QNZ9', - 'FEATUREeventbridge6VIARK', - 'FEATUREeventbridgeWAGKXS', + [ + 'apiName' => 'CreateAgent', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:CreateAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'ProductName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', + [ + 'apiName' => 'CreateApiDestination', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eventbridge:CreateApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '34AD682D-5B91-5773-8132-AA38C130****', - ], - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'StsRoleName' => [ - 'description' => 'The name of the service-linked role.'."\n", - 'type' => 'string', - 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', - ], - 'CheckPass' => [ - 'description' => 'Indicates whether the service-linked role exists.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + '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}'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + '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}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + '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}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"StsRoleName\\": \\"AliyunServiceRoleForEventBridgeConnectVPC\\",\\n \\"CheckPass\\": true\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'CheckServiceLinkedRoleForProduct', - ], - 'TestEventSourceConfig' => [ - 'summary' => 'Checks whether event source configurations are available.', - 'methods' => [ - 'post', + [ + 'apiName' => 'UpdateAgent', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:UpdateAgent', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DeleteApiDestination', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eventbridge:DeleteApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'AskLuma', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:AskLuma', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '154145', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeUWT8SO', + [ + '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/*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceMySQLParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => 'The parameters that are configured if you specify MySQL as the event source.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'HostName' => [ - 'description' => 'The endpoint of the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp1vxxx.mysql.rds.aliyuncs.com', - ], - 'Port' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - 'DatabaseName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'database1', - ], - 'TableNames' => [ - 'title' => '探测表场景下,TableName只允许填单个表格名', - 'description' => 'The table name. The name must be prefixed with the database name. ${DatabaseName}.${TableName}'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'database1.table1'."\n", - ], - 'User' => [ - 'description' => 'The username that is used to log on to the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'user***', - ], - 'Password' => [ - 'description' => 'The password that is used for authentication.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1234xxx', - ], - 'NetworkType' => [ - 'description' => 'The network type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* PrivateNetwork'."\n" - .'* PublicNetwork'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrivateNetwork' => 'PrivateNetwork', - 'PublicNetwork' => 'PublicNetwork', - ], - 'example' => 'PrivateNetwork', - ], - 'VpcId' => [ - 'description' => 'The virtual private cloud (VPC) ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-xxx', - ], - 'VSwitchIds' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1gb7xxx', - ], - 'SecurityGroupId' => [ - 'description' => 'The ID of the security group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'sg-xxx', - ], - 'AllowedCIDRs' => [ - 'title' => 'MySQL允许的CIDR网段,可以配置多个,多个时用“;”分割', - 'type' => 'string', - ], - ], - 'required' => false, + [ + 'apiName' => 'ListCatalogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eventbridge:ListCatalogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Catalog', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:catalog/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'The response code. Valid values:'."\n" - ."\n" - .'* Success: The request was successful.'."\n" - .'* Other codes indicate that the request failed. For information about error codes, see Error codes.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'Data' => [ - 'description' => 'The update result.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The event stream.'."\n", - 'type' => 'object', - 'properties' => [ - 'CheckItem' => [ - 'description' => 'The name of the check item.'."\n", - 'type' => 'string', - 'example' => 'CHECK_CONNECTION', - ], - 'ErrorMsg' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Connection established successfully.', - ], - 'IsSucceed' => [ - 'description' => 'Indicates whether the check item is executed.'."\n", - 'type' => 'string', - 'example' => 'true', - ], - ], - ], - ], - 'Message' => [ - 'description' => 'The error message.'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FF942675-F937-549C-A942-EB94FFE28DD3', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. If the operation was successful, the value true is returned.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - ], - 'description' => '', + [ + 'apiName' => 'UpdateApiDestination', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eventbridge:UpdateApiDestination', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'ApiDestination', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:apidestination/{#ApiDestinationName}'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + '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}'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": [\\n {\\n \\"CheckItem\\": \\"CHECK_CONNECTION\\",\\n \\"ErrorMsg\\": \\"Connection established successfully.\\",\\n \\"IsSucceed\\": \\"true\\"\\n }\\n ],\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => 'TestEventSourceConfig', - 'description' => 'You can call this API operation to query all custom event sources.'."\n", - ], - 'DiscoverEventSource' => [ - 'summary' => 'Discovers the schema and simple data of an event source (such as MySQL).', - 'methods' => [ - 'post', + [ + '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}'], + ], + ], ], - 'schemes' => [ - 'https', + [ + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + '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', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '154145', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeUWT8SO', + 'ramAction' => [ + 'action' => 'eventbridge:DiscoverEventSource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceMySQLParameters', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - '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' => '', - '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' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6hwiei8u5uil3bfahc1', - ], - 'VSwitchIds' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-gw824tpaptxtlo256lqub', - ], - 'SecurityGroupId' => [ - 'description' => '', - '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, + [ + '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/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SourceMySQLDiscovery' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DatabaseNames' => [ - 'description' => '', - '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' => '', - '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过期天数,单位:天', - 'type' => 'integer', - 'format' => 'int32', - ], - 'WaitTimeout' => [ - 'title' => '非交互式连接的最大空闲时间,单位:秒', - 'type' => 'integer', - 'format' => 'int32', - ], - 'EstimatedRows' => [ - 'title' => '预估行数,单位:行', - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - ], - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C7043799-F4DA-5290-9249-97C35987****', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + '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}'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + 'apiName' => 'ListAgents', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eventbridge:ListAgents', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', '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"}]', - 'title' => 'DiscoverEventSource', - ], - 'UpdateEventStreamingBusinessOption' => [ - 'summary' => 'This API operation allows you to query event streams.', - 'path' => '', - 'methods' => [ - 'post', + [ + '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' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eventbridge:PollAskResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + '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', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '38611', - 'abilityTreeNodes' => [ - 'FEATUREeventbridgeUWT8SO', - 'FEATUREeventbridge70XW1X', + 'ramAction' => [ + 'action' => 'eventbridge:DisableRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'Rule', 'arn' => 'acs:eventbridge:{#regionId}:{#accountId}:eventbus/{#EventBusName}/rule/{#RuleName}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'EventStreamingName', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '名称', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'rocketmq-sync', - 'maxLength' => 255, - 'minLength' => 2, + [ + '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}'], ], ], - [ - 'name' => 'BusinessMode', - 'in' => 'formData', - 'schema' => [ - 'title' => '计费模式,枚举值包括:'."\n" - .'CapacityUnitMode 即CU模式'."\n" - .'EventNumMode 即按事件量计费', - 'description' => '', - 'type' => 'string', - 'required' => true, + ], + [ + '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}'], ], ], - [ - 'name' => 'MinCapacityUnitCount', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + ], + [ + '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/*'], ], ], - [ - 'name' => 'MaxCapacityUnitCount', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', + ], + [ + '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/*'], ], ], ], - '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' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - ], + [ + 'apiName' => 'CheckServiceLinkedRoleForProduct', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eventbridge:CheckServiceLinkedRoleForProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EventBridge', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'ServiceNotEnable', - 'errorMessage' => 'Service not enable', + [ + '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}'], ], ], - [ - [ - 'errorCode' => 'EventStreamingNotExisted', - 'errorMessage' => 'the event streaming is not existed.', + ], + [ + '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}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + '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' => '', + '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 \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => 'UpdateEventStreamingBusinessOption', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'eventbridge-console.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'eventbridge-console.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'eventbridge-console.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'eventbridge-console.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'eventbridge-console.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'eventbridge-console.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'eventbridge-console.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'eventbridge-console.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'eventbridge-console.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'eventbridge-console.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'eventbridge-console.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'eventbridge-console.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'eventbridge-console.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'eventbridge-console.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'eventbridge-console.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'eventbridge-console.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'eventbridge-console.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'eventbridge-console.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'eventbridge-console.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'eventbridge-console.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'eventbridge-console.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'eventbridge-console.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'eventbridge-console.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'eventbridge-console.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'eventbridge-console.cn-beijing-finance-1.aliyuncs.com', ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'eventbridge-console.cn-shanghai-finance-1.aliyuncs.com', + '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/*'], ], ], ]; -- cgit v1.2.3