diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/eventbridge | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/eventbridge')
| -rw-r--r-- | data/en_us/eventbridge/2020-04-01/api-docs.php | 23651 |
1 files changed, 23651 insertions, 0 deletions
diff --git a/data/en_us/eventbridge/2020-04-01/api-docs.php b/data/en_us/eventbridge/2020-04-01/api-docs.php new file mode 100644 index 0000000..69083a4 --- /dev/null +++ b/data/en_us/eventbridge/2020-04-01/api-docs.php @@ -0,0 +1,23651 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'eventbridge', + 'version' => '2020-04-01', + ], + 'directories' => [ + [ + 'id' => 99576, + 'title' => 'Event buses', + 'type' => 'directory', + 'children' => [ + 'CreateEventBus', + 'DeleteEventBus', + 'UpdateEventBus', + 'GetEventBus', + 'ListEventBuses', + ], + ], + [ + 'id' => 99587, + 'title' => 'Events', + 'type' => 'directory', + 'children' => [ + 'QueryEvent', + 'QueryEventTraces', + 'QueryTracedEventByEventId', + 'QueryTracedEvents', + ], + ], + [ + 'id' => 99600, + 'title' => 'Event sources', + 'type' => 'directory', + 'children' => [ + 'ListAliyunOfficialEventSources', + 'ListUserDefinedEventSources', + 'CreateEventSource', + 'DeleteEventSource', + 'UpdateEventSource', + ], + ], + [ + 'id' => 99582, + 'title' => 'Event targets', + 'type' => 'directory', + 'children' => [ + 'DeleteTargets', + 'PutTargets', + ], + ], + [ + 'id' => 99623, + 'title' => 'Event rules', + 'type' => 'directory', + 'children' => [ + 'CreateRule', + 'DeleteRule', + 'DisableRule', + 'EnableRule', + 'UpdateRule', + 'GetRule', + 'ListRules', + ], + ], + [ + 'id' => 99593, + 'title' => 'EventStreamings', + 'type' => 'directory', + 'children' => [ + 'ListEventStreamings', + 'DeleteEventStreaming', + 'PauseEventStreaming', + 'StartEventStreaming', + 'GetEventStreaming', + 'UpdateEventStreaming', + 'CreateEventStreaming', + ], + ], + [ + 'id' => 177345, + 'title' => 'API destinations', + 'type' => 'directory', + 'children' => [ + 'UpdateApiDestination', + 'CreateApiDestination', + 'CreateConnection', + 'DeleteApiDestination', + 'DeleteConnection', + 'GetApiDestination', + 'GetConnection', + 'ListApiDestinations', + 'ListConnections', + 'UpdateConnection', + ], + ], + [ + 'id' => 183370, + 'title' => 'Others', + 'type' => 'directory', + 'children' => [ + 'CreateServiceLinkedRoleForProduct', + 'ListTargets', + 'TestEventPattern', + 'EventCenterQueryEvents', + 'CheckServiceLinkedRoleForProduct', + 'TestEventSourceConfig', + 'DiscoverEventSource', + 'UpdateEventStreamingBusinessOption', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'SinkBaiLianParameters' => [ + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Before' => [ + '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', + ], + ], + 'backendName' => 'Before', + 'sensitive' => true, + ], + 'Context' => [ + 'visibility' => 'Public', + 'type' => 'any', + 'backendName' => 'Context', + 'sensitive' => true, + ], + 'ApplicationType' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'ApplicationType', + ], + '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', + ], + ], + 'backendName' => 'Op', + 'sensitive' => true, + ], + 'Partition' => [ + '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', + ], + ], + 'backendName' => 'Partition', + 'sensitive' => true, + ], + 'Extend' => [ + 'visibility' => 'Public', + 'type' => 'any', + 'backendName' => 'Extend', + 'sensitive' => true, + ], + 'WorkspaceId' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'WorkspaceId', + ], + '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', + ], + ], + 'backendName' => 'After', + 'sensitive' => true, + ], + 'Offset' => [ + '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', + ], + ], + 'backendName' => 'Offset', + 'sensitive' => true, + ], + ], + ], + 'SinkDataWorksTriggerParameters' => [ + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Enable' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'Enable', + ], + ], + ], + 'SourceMySQLParameters' => [ + 'visibility' => 'Public', + '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, + ], + ], + ], + ], + ], + 'apis' => [ + 'CreateEventBus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '38582', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '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, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the event bus.', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 255, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"A995F07C-E503-5881-9962-9CECA8566876\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\\\t\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateEventBus', + 'summary' => 'Creates an event bus.', + 'description' => 'Creates an event bus.', + ], + '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.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + ], + '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' => '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"C229E140-1A5C-5D55-8904-CFC5BA4CAA98\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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, + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'maxLength' => 255, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event bus [xxxx] not existed!\\",\\n \\"RequestId\\": \\"f2099962-1628-45f1-9782-2bf6daad823f\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'UpdateEventBus', + 'description' => 'You can call this operation to update an event bus.'."\n", + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'Data' => [ + 'description' => 'The data returned.'."\n", + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d5bfc188-4452-4ba7-b73a-a9005e522439\\",\\n \\"Data\\": {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\\",\\n \\"EventBusName\\": \\"MyEventBus\\",\\n \\"Description\\": \\"demo\\",\\n \\"CreateTimestamp\\": 1641781825000\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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', + ], + ], + [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"InvalidArgument\\",\\n \\"RequestId\\": \\"D1DCF64A-3F2C-5323-ADCB-3F4DF30F****\\",\\n \\"Data\\": {\\n \\"EventBuses\\": [\\n {\\n \\"EventBusARN\\": \\"acs:eventbridge:cn-hangzhou:12345678909****:eventbus/default\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"Description\\": \\"bus_description\\",\\n \\"CreateTimestamp\\": 1607071602000\\n }\\n ],\\n \\"NextToken\\": \\"10\\",\\n \\"Total\\": 2\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListEventBuses', + 'summary' => 'Queries all event buses.', + 'description' => 'You can call this API operation to query all event buses.'."\n", + ], + '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', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The event ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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", + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The event ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => 'BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF', + ], + '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', + ], + 'EventSource' => [ + 'description' => 'The name of the event source.'."\n", + 'type' => 'string', + 'example' => 'cert-api', + ], + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"BB934571-1F5A-5E17-91DD-E2BC3E1BFBFF\\",\\n \\"Data\\": [\\n {\\n \\"Action\\": \\"PutEvent\\",\\n \\"ReceivedTime\\": 1659495343896,\\n \\"RuleMatchingTime\\": \\"1659495343896\\",\\n \\"ActionTime\\": 1659495343896,\\n \\"NotifyStatus\\": \\"[200]Ok\\",\\n \\"RuleName\\": \\"ramrolechange-mns\\",\\n \\"EventId\\": \\"a5747e4f-2af2-40b6-b262-d0140e995bf7\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"Endpoint\\": \\"acs:mns:cn-zhangjiakou:123456789098****:queues/testQueue\\",\\n \\"NotifyLatency\\": \\"80\\",\\n \\"NotifyTime\\": 1659495343896,\\n \\"EventSource\\": \\"cert-api\\"\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'QueryEventTraces', + 'description' => 'You can call this API operation to query event traces.'."\n", + ], + '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', + ], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event source.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'mse', + ], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The event ID.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1935debf-ddac-49dc-a090-d4f2857a046d', + ], + ], + ], + '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' => 'A5D7B9F4-BF96-51A9-90B1-928955FABB5B', + ], + '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', + ], + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"A5D7B9F4-BF96-51A9-90B1-928955FABB5B\\",\\n \\"Data\\": [\\n {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"37C-1P6Yn6EM7TcH37Vod8w7rbSeimJ\\",\\n \\"EventBusName\\": \\"default\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"cert-api\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 18\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + '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' => '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' => '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' => '50', + ], + ], + [ + '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' => '1000', + ], + ], + [ + 'name' => 'EventSource', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event source.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'mse', + ], + ], + [ + 'name' => 'Subject', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'EventType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The event type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'eventbridge:Events:HTTPEvent', + ], + ], + [ + 'name' => 'MatchedRule', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule that is matched.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test-mnsrule', + ], + ], + ], + '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' => 'd9e4628b-8b34-4f33-82be-5aac50aac0ba', + ], + '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', + ], + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventBusNotExist\\",\\n \\"RequestId\\": \\"d9e4628b-8b34-4f33-82be-5aac50aac0ba\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Events\\": [\\n {\\n \\"EventId\\": \\"07E-1OCckaVzNB92BIFFh4xgydOF1wd\\",\\n \\"EventBusName\\": \\"test-custom-bus\\",\\n \\"EventReceivedTime\\": 1661773573100,\\n \\"EventSource\\": \\"acs.resourcemanager\\",\\n \\"EventType\\": \\"eventbridge:Events:HTTPEvent\\"\\n }\\n ],\\n \\"Total\\": 6\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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.'."\n", + 'type' => 'string', + 'example' => 'InvalidArgument', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '5f80e9b3-98d5-4f51-8412-c758818a03e4', + ], + 'Data' => [ + 'description' => 'The data returned.'."\n", + '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', + ], + ], + ], + ], + ], + ], + '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', + ], + ], + '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', + ], + ], + [ + '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' => '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 => [ + 'schema' => [ + '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", + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'If excess return values exist when you configure Limit, this parameter is returned.', + 'type' => 'string', + 'example' => '100', + ], + 'Total' => [ + 'description' => 'The total number of entries returned.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '18', + ], + '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 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", + '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"}', + ], + ], + ], + 'SourceOSSEventParameters' => [ + 'type' => 'object', + 'properties' => [ + 'EventTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'StsRoleArn' => [ + 'type' => 'string', + ], + 'MatchRules' => [ + 'type' => 'any', + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + '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', + 'required' => false, + 'example' => 'sg-catalog-eventlistener', + ], + 'AuthType' => [ + 'description' => 'The authentication type. You can set this parameter to ACL or leave this parameter empty.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + ], + '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", + ], + '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' => [ + 'type' => 'object', + 'properties' => [ + 'Prefix' => [ + 'type' => 'string', + ], + 'Suffix' => [ + 'type' => 'string', + ], + 'Name' => [ + 'type' => 'string', + ], + 'MatchState' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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', + ], + ], + ], + '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', + 'required' => false, + 'example' => 'ACL', + ], + '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", + ], + '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](~~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', + ], + '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 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', + ], + 'required' => false, + ], + '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", + ], + 'required' => false, + ], + ], + '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' => [ + 'type' => 'object', + 'properties' => [ + 'Suffix' => [ + 'type' => 'string', + ], + 'MatchState' => [ + 'type' => 'boolean', + ], + 'Prefix' => [ + 'type' => 'string', + ], + 'Name' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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", + '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', + ], + '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', + ], + ], + ], + ], + ], + ], + '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, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + '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", + 'type' => 'object', + 'properties' => [ + 'ResourceKey' => [ + 'description' => 'The resource key of the event target. For more information, see [Event target parameters](~~185887~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'body', + ], + 'Form' => [ + 'description' => 'The format of input parameters for the event target. For more information, see [Event target parameters](~~185887~~).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'TEMPLATE', + ], + 'Value' => [ + 'description' => 'The event target.'."\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}! ', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ConcurrentConfig' => [ + 'description' => 'The concurrency configuration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'description' => 'The concurrency.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '34', + ], + ], + 'required' => false, + ], + ], + '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!', + ], + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '6FB52207-7621-5292-BDF2-A17E2E984160'."\n", + ], + 'Data' => [ + 'description' => 'The returned result.'."\n", + 'type' => 'object', + 'properties' => [ + 'ErrorEntriesCount' => [ + 'description' => 'The number of failed event targets. Valid values:'."\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', + ], + 'ErrorEntries' => [ + 'description' => 'The ID of the failed event target.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'description' => 'The error message returned.', + 'type' => 'string', + 'example' => 'The id of event target is duplicate!', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned.', + 'type' => 'string', + 'example' => 'EventRuleTargetIdDuplicate', + ], + 'EntryId' => [ + 'description' => 'The ID of the failed event target.', + 'type' => 'string', + 'example' => 'Mlm123456JHd2RsRoKw', + ], + ], + ], + ], + ], + ], + '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' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"6FB52207-7621-5292-BDF2-A17E2E984160\\\\n\\",\\n \\"Data\\": {\\n \\"ErrorEntriesCount\\": 0,\\n \\"ErrorEntries\\": [\\n {\\n \\"ErrorMessage\\": \\"The id of event target is duplicate!\\",\\n \\"ErrorCode\\": \\"EventRuleTargetIdDuplicate\\",\\n \\"EntryId\\": \\"Mlm123456JHd2RsRoKw\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'PutTargets', + 'description' => 'You can call this API operation to create or update event targets under a rule.'."\n", + ], + 'CreateRule' => [ + 'summary' => 'Creates an event rule.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '38627', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event bus.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MyEventBus', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the event bus.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'MNSRule', + ], + ], + [ + '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', + ], + ], + [ + '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\\"}]}', + ], + ], + [ + 'name' => 'EventTargets', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The event targets.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The event target.'."\n", + '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', + ], + '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", + '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, + ], + ], + 'required' => false, + ], + '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', + ], + '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", + '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}! ', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'ConcurrentConfig' => [ + 'description' => 'The concurrency configuration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Concurrency' => [ + 'description' => 'The concurrency.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + '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', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Remote error. requestId: [xxxx], error code: [xxx], message: [The target in event rule is invalid! Endpoint is xxx\\",\\n \\"RequestId\\": \\"1AD6D598-7506-5D2C-81EA-30E3241A903A\\",\\n \\"Data\\": {\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/MNSRule\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateRule', + 'description' => 'You can call this API operation to create an event rule.'."\n", + 'requestParamsDescription' => 'Sample requests'."\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" + ."\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', + ], + 'security' => [ + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\\\n\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteRule', + 'summary' => 'Deletes an event rule.', + 'description' => 'You can call this API operation to delete an event rule.'."\n", + ], + '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', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'tf-testacc-rule', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B82719****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DisableRule', + 'summary' => 'Disables an event rule.', + 'description' => 'You can call this API operation to disable an event rule.'."\n", + ], + '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', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ramrolechange', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"580A938B-6107-586C-8EC7-F22EEBEDA9E6\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'EnableRule', + 'summary' => 'Enables an event rule.', + 'description' => 'You can call this API operation to enable an event rule.'."\n", + ], + 'UpdateRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '38598', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeS2QNZ9', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => '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', + '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\\"]}', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleFilterPatternSchemaError\\",\\n \\"RequestId\\": \\"7439944D-D9FC-5614-B65E-07A468988924\\",\\n \\"Data\\": true,\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ram-changes', + ], + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The event rule not existed!\\",\\n \\"RequestId\\": \\"2BC1857D-E633-5E79-B2C2-43EF5F7730D8\\",\\n \\"Data\\": {\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"Housekeeping-Bus\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"test\\",\\n \\"Targets\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Type\\": \\"acs.mns.queue\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}!\\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"Id\\": \\"Mlm123456JHd2RsRoKw\\\\n\\",\\n \\"DeadLetterQueue\\": {\\n \\"Arn\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/myRocketMQ.source\\",\\n \\"Network\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"VSwitchIds\\": \\"\\",\\n \\"SecurityGroupId\\": \\"\\"\\n },\\n \\"PushRetryStrategy\\": \\"BACKOFF_RETRY\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 0\\n },\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"ramrolechange-fc\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetRule', + 'description' => 'You can call this API operation to query the details of an event rule.'."\n", + ], + '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', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'EventBusName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event bus.'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + ], + '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.', + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Specified parameter Limit is not valid.\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"1000\\",\\n \\"Total\\": 6,\\n \\"Rules\\": [\\n {\\n \\"DetailMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Status\\": \\"ENABLE\\",\\n \\"EventBusName\\": \\"demo\\",\\n \\"RuleARN\\": \\"acs:eventbridge:cn-hangzhou:123456789098****:eventbus/default/rule/myRule3\\",\\n \\"Description\\": \\"demo\\",\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.mns.queue\\\\n\\",\\n \\"Endpoint\\": \\"acs:mns:cn-hangzhou:123456789098****:queues/myqueue\\",\\n \\"Id\\": \\"Mlm123456JHd2Rs****\\",\\n \\"PushSelector\\": \\"PARAM_TRANSFORMER\\",\\n \\"ErrorsTolerance\\": \\"ALL\\"\\n }\\n ],\\n \\"FilterPattern\\": \\"{\\\\\\\\\\\\\\"source\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"acs.oss\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"oss:BucketQueried:GetBucketStat\\\\\\\\\\\\\\"]}\\\\n\\",\\n \\"CreatedTimestamp\\": 1607071602000,\\n \\"RuleName\\": \\"tf-testacc-rule\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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 of the event stream that you want to query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'name', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + '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', + ], + ], + [ + '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', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mns', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mnstest', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SourceArn', + 'in' => 'formData', + 'schema' => [ + 'description' => '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', + ], + ], + [ + 'name' => 'SinkArn', + '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', + ], + ], + ], + '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", + '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', + ], + ], + ], + ], + '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*****', + ], + ], + ], + '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", + ], + ], + ], + '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', + ], + ], + ], + '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' => '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', + ], + ], + ], + ], + '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, + ], + ], + 'required' => false, + ], + 'CompressionType' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'SinkApacheKafkaParameters' => [ + 'title' => '描述信息', + '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', + ], + ], + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + ], + 'Form' => [ + 'type' => 'string', + ], + 'Template' => [ + 'type' => 'string', + ], + ], + ], + 'SaslPassword' => [ + 'type' => 'string', + ], + ], + ], + '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", + '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, + ], + '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', + ], + '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', + ], + '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, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + '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' => '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", + '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, + '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, + '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, + '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, + '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, + '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, + '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, + 'example' => '', + ], + ], + 'required' => false, + ], + 'DeliveryOrderType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ShardingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkDorisParameters' => [ + 'title' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'QueryEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'FeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'BeHttpEndpoint' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'UserName' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Password' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Database' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Table' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkApacheRocketMQCheckpointParameters' => [ + 'title' => '事件源类型', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'ConsumeTimestamp' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Group' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'InstanceEndpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstanceUsername' => [ + 'type' => 'string', + 'required' => false, + ], + 'InstancePassword' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkSLSParameters' => [ + 'description' => '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', + ], + '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' => '', + ], + ], + 'required' => false, + ], + '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' => '', + ], + ], + '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', + ], + '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, + ], + ], + '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', + ], + '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' => '', + ], + ], + '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, + '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, + ], + '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', + ], + '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', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => 'The template based on which you want to transform events.'."\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', + ], + '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, + ], + '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', + ], + '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', + ], + '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', + ], + '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', + ], + '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', + ], + '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', + ], + 'example' => 'CONSTANT', + ], + 'Template' => [ + 'description' => 'None.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + '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, + ], + 'VSwitchId' => [ + 'description' => 'The ID of the vSwitch with which the Managed Service for Prometheus instance is associated.'."\n", + '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' => '', + ], + ], + 'required' => false, + ], + '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, + ], + 'SinkCustomizedKafkaParameters' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '90be1f96-4229-4535-bb76-34b4f6fb2b71', + ], + ], + 'required' => false, + ], + 'SinkCustomizedKafkaConnectorParameters' => [ + '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' => 'mongo-sink', + ], + 'Config' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",'."\n" + .' "tasks.max": "1",'."\n" + .' "topics": "sourceA,sourceB"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'WorkerParameters' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'example' => '{'."\n" + .' "group.id": "connect-eb-cluster-KAFKA_CONNECTORC",'."\n" + .' "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC",'."\n" + .' "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink",'."\n" + .' "bootstrap.servers": "alikafka-post:9092"'."\n" + .' }', + ], + ], + 'required' => false, + ], + 'SinkDashVectorParameters' => [ + 'description' => '', + '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', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'JSONPATH' => 'JSONPATH', + 'CONSTANT' => 'CONSTANT', + 'TEMPLATE' => 'TEMPLATE', + ], + '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', + ], + ], + 'required' => false, + 'title' => '属性Schema', + 'items' => [ + 'title' => '属性列', + '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}', + ], + ], + ], + ], + ], + ], + ], + 'required' => false, + 'title' => 'DashVector目标参数', + ], + 'SinkOpenSourceRabbitMQParameters' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + 'required' => false, + ], + 'VirtualHostName' => [ + 'type' => 'string', + 'required' => false, + ], + 'TargetType' => [ + 'type' => 'string', + 'required' => false, + ], + 'Exchange' => [ + 'type' => 'string', + 'required' => false, + ], + 'QueueName' => [ + 'type' => 'string', + 'required' => false, + ], + 'Username' => [ + 'type' => 'string', + 'required' => false, + ], + 'Password' => [ + 'type' => 'string', + 'required' => false, + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'VSwitchIds' => [ + 'type' => 'string', + 'required' => false, + ], + 'SecurityGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'NetworkType' => [ + 'type' => 'string', + 'required' => false, + ], + 'AuthType' => [ + 'type' => 'string', + 'required' => false, + ], + 'RoutingKey' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Body' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'MessageId' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + 'Properties' => [ + 'type' => 'object', + 'properties' => [ + 'Form' => [ + 'type' => 'string', + 'required' => false, + ], + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Template' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'SinkBaiLianParameters' => [ + 'required' => false, + '$ref' => '#/components/schemas/SinkBaiLianParameters', + ], + 'SinkDataWorksTriggerParameters' => [ + '$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', + ], + '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:'."\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", + '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, + ], + ], + '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', + ], + '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, + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"The name [xxxx] of event streaming in request is already exist!\\",\\n \\"RequestId\\": \\"B896B484-F16D-59DE-9E23-DD0E5C36****\\",\\n \\"Data\\": {\\n \\"EventStreamingARN\\": \\"acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming\\"\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateEventStreaming', + 'description' => 'You can call this API operation to create an event stream.'."\n", + ], + 'UpdateApiDestination' => [ + 'summary' => 'Updates an API destination.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '163678', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The description of the API destination. The description can be up to 255 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'maxLength' => 255, + ], + ], + [ + '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, + 'docRequired' => true, + 'example' => 'api-destination-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + '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.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'connection-name', + 'maxLength' => 127, + 'minLength' => 2, + ], + ], + [ + 'name' => 'HttpApiParameters', + 'in' => 'query', + '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', + 'required' => false, + 'example' => 'http://127.0.0.1:8001/api', + 'maxLength' => 127, + ], + 'Method' => [ + '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', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + '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.'."\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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ApiDestinationNotExist', + 'errorMessage' => 'The api-destination not existed!', + ], + [ + 'errorCode' => 'HttpApiParametersIsNull', + 'errorMessage' => 'HttpApiParameters is null!', + ], + [ + 'errorCode' => 'EndpointIsBlank', + 'errorMessage' => 'Endpoint is blank!', + ], + [ + 'errorCode' => 'Method', + 'errorMessage' => 'Method is blank!', + ], + [ + 'errorCode' => 'EndpointLengthExceed', + 'errorMessage' => 'Endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"382E6272-8E9C-5681-AC96-A8AF0BFAC1A5\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"ApiDestinationName\\": \\"api-destination-name\\"\\n}","type":"json"}]', + 'title' => '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', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '163676', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + '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' => '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' => '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' => 'HttpApiParameters', + 'in' => 'query', + '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', + 'required' => true, + 'example' => 'http://127.0.0.1:8001/api'."\n", + 'maxLength' => 127, + ], + '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', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '5DAF96FB-A4B6-548C-B999-0BFDCB2261B9', + ], + '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', + ], + 'Date' => [ + 'description' => 'The data returned if the API destination is created.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiDestinationName' => [ + 'description' => 'The name of the API destination.'."\n", + 'type' => 'string', + 'example' => 'ApiDestinationName', + ], + ], + ], + ], + '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****', + ], + 'VswitcheId' => [ + 'description' => 'The vSwitch ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeq****', + ], + 'SecurityGroupId' => [ + 'description' => 'The security group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****', + ], + ], + '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', + 'required' => false, + 'example' => 'BASIC_AUTH', + ], + 'ApiKeyAuthParameters' => [ + 'description' => 'The parameters that are configured for API key authentication.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiKeyName' => [ + 'description' => 'The key of the API key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Token', + 'maxLength' => 127, + ], + 'ApiKeyValue' => [ + 'description' => 'The value of the API key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'adkjnakddh****', + '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' => '*******', + '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 of the authorized client. 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' => 'Qo57Q~F249~S74GmNPA36pZJoJK4f4LY****', + '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' => '', + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'HeaderParameters' => [ + 'description' => 'The parameters that are configured for the request header.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'QueryStringParameters' => [ + 'description' => 'The parameters that are configured for the request path.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + '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', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '7DA60DED-CD36-5837-B848-C01A23D2****', + ], + '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' => [ + 'ConnectionName' => [ + 'description' => 'The connection name.'."\n", + 'type' => 'string', + 'example' => 'connection-demo', + ], + ], + ], + ], + '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', + ], + ], + ], + '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 => [ + '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' => '', + ], + ], + ], + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + 'description' => '', + ], + ], + ], + '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' => [ + [ + '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', + ], + ], + ], + ], + '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", + ], + 'GetConnection' => [ + 'summary' => 'Queries the configurations of a connection.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163694', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The connection name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'connection-name', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection name not existed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"HttpCode\\": 200,\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"demo\\",\\n \\"Id\\": 5668,\\n \\"Description\\": \\"demo\\",\\n \\"GmtCreate\\": 1669648905,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwg****\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown****,vsw-bp193sqmadadlaszpeq****\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"key\\",\\n \\"ApiKeyValue\\": \\"value\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"********\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"Qo57Q~F249~S74GmNPA36pZJoJK4f4****\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"keyDemo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"keyDemo\\",\\n \\"Value\\": \\"valueDemo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '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', + ], + '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', + ], + ], + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The connection name.'."\n", + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'connection-name', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96D7C0AB-DCE5-5E82-96B8-4725E170****\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"ApiDestinations\\": [\\n {\\n \\"ApiDestinationName\\": \\"api-destination-2\\",\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"demo\\",\\n \\"HttpApiParameters\\": {\\n \\"Endpoint\\": \\"http://127.0.0.1:8001/api\\",\\n \\"Method\\": \\"POST\\"\\n },\\n \\"GmtCreate\\": 1665223213000\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 2,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', + 'title' => 'ListApiDestinations', + 'description' => 'You can use this API operation to query a list of API destinations.'."\n", + ], + 'ListConnections' => [ + 'summary' => 'Queries connections.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '163695', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionNamePrefix', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The key word that you specify to query connections. Connections can be queried by prefixes.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'connection-name', + ], + ], + [ + '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' => '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', + ], + ], + ], + 'responses' => [ + 200 => [ + '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', + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E3619976-8714-5D88-BBA2-6983D798A8BB\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"Connections\\": [\\n {\\n \\"ConnectionName\\": \\"connection-name\\",\\n \\"Description\\": \\"连接配置描述信息\\",\\n \\"Id\\": 1141093,\\n \\"GmtCreate\\": 1592838994234,\\n \\"NetworkParameters\\": {\\n \\"NetworkType\\": \\"PublicNetwork\\",\\n \\"VpcId\\": \\"eb-test/vpc-bp1symadadwnwgmqud\\",\\n \\"VswitcheId\\": \\"vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeqbt2c\\",\\n \\"SecurityGroupId\\": \\"eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9rtyb\\"\\n },\\n \\"AuthParameters\\": {\\n \\"AuthorizationType\\": \\"BASIC_AUTH\\",\\n \\"ApiKeyAuthParameters\\": {\\n \\"ApiKeyName\\": \\"Token\\",\\n \\"ApiKeyValue\\": \\"asdkjnqkwejooa\\"\\n },\\n \\"BasicAuthParameters\\": {\\n \\"Password\\": \\"admin\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"OAuthParameters\\": {\\n \\"AuthorizationEndpoint\\": \\"http://localhost:8080/oauth/token\\",\\n \\"HttpMethod\\": \\"POST\\",\\n \\"ClientParameters\\": {\\n \\"ClientID\\": \\"ClientID\\",\\n \\"ClientSecret\\": \\"ClientSecret\\"\\n },\\n \\"OAuthHttpParameters\\": {\\n \\"BodyParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"HeaderParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ],\\n \\"QueryStringParameters\\": [\\n {\\n \\"IsValueSecret\\": \\"false\\",\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"demo\\"\\n }\\n ]\\n }\\n }\\n }\\n }\\n ],\\n \\"NextToken\\": \\"0\\",\\n \\"Total\\": 1,\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', + 'title' => 'ListConnections', + 'description' => 'You can call this API operation to query connections.'."\n", + ], + 'UpdateConnection' => [ + 'summary' => 'Updates a connection.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '163692', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeRBNSGL', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectionName', + 'in' => 'query', + 'schema' => [ + 'description' => '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, + ], + ], + [ + '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' => 'The description of the connection.', + '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-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', + ], + ], + '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', + '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, + ], + ], + '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', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 409 => [ + [ + 'errorCode' => 'RequestParameterException', + 'errorMessage' => 'Request parameter exception', + ], + [ + 'errorCode' => 'ConnectionNotExist', + 'errorMessage' => 'The Connection not existed!', + ], + [ + 'errorCode' => 'SecretManagerAPIDeleteSecretFailed', + 'errorMessage' => 'Delete secret manager api secret failed!', + ], + [ + 'errorCode' => 'BasicRequiredParameterIsEmpty', + 'errorMessage' => 'Basic required parameters are empty, the required parameters are username and password!', + ], + [ + 'errorCode' => 'BasicUserNameLengthExceed', + 'errorMessage' => 'Basic username length cannot exceed 127!', + ], + [ + 'errorCode' => 'BasicPassWordLengthExceed', + 'errorMessage' => 'Basic password length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyRequiredParameterIsEmpty', + 'errorMessage' => 'Api Key required parameters are empty, the required parameters are apiKeyName and apiKeyValue!', + ], + [ + 'errorCode' => 'ApiKeyNameLengthExceed', + 'errorMessage' => 'Api key name length cannot exceed 127!', + ], + [ + 'errorCode' => 'ApiKeyValueLengthExceed', + 'errorMessage' => 'Api key value length cannot exceed 127!', + ], + [ + 'errorCode' => 'OAuthRequiredParameterIsEmpty', + 'errorMessage' => 'OAuth required parameters are empty, the required parameters are authorizationEndpoint and httpMethod!', + ], + [ + 'errorCode' => 'AuthorizationEndpointLengthExceed', + 'errorMessage' => 'Authorization endpoint length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientIDLengthExceed', + 'errorMessage' => 'ClientID length cannot exceed 127!', + ], + [ + 'errorCode' => 'ClientSecretLengthExceed', + 'errorMessage' => 'ClientSecret length cannot exceed 127!', + ], + [ + 'errorCode' => 'OauthHttpParametersEmpty', + 'errorMessage' => 'OauthHttpParameters is Empty.', + ], + [ + 'errorCode' => 'SecretManagerAPICreateSecretNameFailed', + 'errorMessage' => 'Create secret manager api secret name failed!', + ], + [ + 'errorCode' => 'SecretManagerAPIGetSecretValueFailed', + 'errorMessage' => 'Get secret manager api secret value failed!', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'InternalError', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8346BE8F-40F3-533D-A0B8-1359C31BD5BA\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'UpdateConnection', + 'description' => 'You can call this API operation to update a connection.'."\n", + ], + 'CreateServiceLinkedRoleForProduct' => [ + 'summary' => 'Creates a service-linked role for your cloud service.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38602', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + 'FEATUREeventbridgeR7SE45', + 'FEATUREeventbridgeS2QNZ9', + 'FEATUREeventbridge6VIARK', + 'FEATUREeventbridgeWAGKXS', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'query', + 'schema' => [ + 'description' => '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C36345A1-75F3-5A1A-BFCF-33B8271971FA\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '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' => [], + ], + ], + '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', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => [ + 'description' => 'The maximum number of returned entries in a call.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the event rule.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tf-testacc-rule', + ], + ], + [ + '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', + ], + ], + [ + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"EventRuleNotExisted\\",\\n \\"RequestId\\": \\"5DAF96FB-A4B6-548C-B999-0BFDCB22****\\",\\n \\"Data\\": {\\n \\"Targets\\": [\\n {\\n \\"Type\\": \\"acs.fc.function \\",\\n \\"Endpoint\\": \\"acs:fc:cn-hangzhou:123456789098****:services/guide.LATEST/functions/HelloFC \\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\"=\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\",\\n \\"Template\\": \\"The value of ${key} is ${value}! \\",\\n \\"Form\\": \\"TEMPLATE\\",\\n \\"ResourceKey\\": \\"body\\"\\n }\\n ],\\n \\"ErrorsTolerance\\": \\"ALL\\",\\n \\"Id\\": \\"1453\\",\\n \\"EventBusName\\": \\"sls-beijing-one1-tf\\",\\n \\"RuleName\\": \\"rule-uKAK2\\",\\n \\"ConcurrentConfig\\": {\\n \\"Concurrency\\": 10\\n }\\n }\\n ],\\n \\"NextToken\\": \\"1\\",\\n \\"Total\\": 18\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ListTargets', + ], + 'TestEventPattern' => [ + 'summary' => 'Checks whether the event pattern matches the provided JSON format.', + '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.'."\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" + .'}', + ], + ], + [ + 'name' => 'EventPattern', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The event pattern.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '{"key1": "value1"}', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + ], + ], + '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' => [], + ], + ], + '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.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'default', + 'default' => 'default', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '用来标记当前开始读取的位置。置空表示从头开始。', + 'type' => 'string', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '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', + ], + ], + [ + '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, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + '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', + ], + 'CheckServiceLinkedRoleForProduct' => [ + 'summary' => 'Checks whether a service-linked role is created for an Alibaba Cloud account.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '38628', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeHELDSX', + 'FEATUREeventbridgeR7SE45', + 'FEATUREeventbridgeS2QNZ9', + 'FEATUREeventbridge6VIARK', + 'FEATUREeventbridgeWAGKXS', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AliyunServiceRoleForEventBridgeConnectVPC', + ], + ], + ], + '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' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Data\\": {\\n \\"StsRoleName\\": \\"AliyunServiceRoleForEventBridgeConnectVPC\\",\\n \\"CheckPass\\": true\\n },\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CheckServiceLinkedRoleForProduct', + ], + 'TestEventSourceConfig' => [ + 'summary' => 'Checks whether event source configurations are available.', + '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 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, + ], + ], + ], + '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' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": [\\n {\\n \\"CheckItem\\": \\"CHECK_CONNECTION\\",\\n \\"ErrorMsg\\": \\"Connection established successfully.\\",\\n \\"IsSucceed\\": \\"true\\"\\n }\\n ],\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"FF942675-F937-549C-A942-EB94FFE28DD3\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + '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' => '', + '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, + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"Success\\",\\n \\"Data\\": {\\n \\"SourceMySQLDiscovery\\": {\\n \\"DatabaseNames\\": [\\n \\"database1\\"\\n ],\\n \\"TableNames\\": [\\n \\"ai_festival_gift_ranking\\"\\n ],\\n \\"TableSchema\\": {\\n \\"TableName\\": \\"map\\",\\n \\"Columns\\": [\\n {\\n \\"Field\\": \\"id\\",\\n \\"IsNull\\": \\"NO\\",\\n \\"Extra\\": \\"auto_increment\\",\\n \\"Type\\": \\"int\\",\\n \\"Key\\": \\"PRI\\"\\n }\\n ]\\n },\\n \\"SimpleData\\": \\"[{\\\\\\\\\\\\\\"is_active\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0c0c5d1a-e844-44a8-902d-4f62cbcb0479\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"21\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"is_active\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"18ef033e-70bb-4795-8222-6cfb54f38f26\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"22\\\\\\\\\\\\\\"}]\\",\\n \\"ExpireLogsDays\\": 0,\\n \\"WaitTimeout\\": 0,\\n \\"EstimatedRows\\": 0\\n }\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C7043799-F4DA-5290-9249-97C35987****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DiscoverEventSource', + ], + 'UpdateEventStreamingBusinessOption' => [ + 'summary' => 'This API operation allows you to query event streams.', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '38611', + 'abilityTreeNodes' => [ + 'FEATUREeventbridgeUWT8SO', + 'FEATUREeventbridge70XW1X', + ], + ], + 'parameters' => [ + [ + 'name' => 'EventStreamingName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '名称', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'rocketmq-sync', + 'maxLength' => 255, + 'minLength' => 2, + ], + ], + [ + 'name' => 'BusinessMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '计费模式,枚举值包括:'."\n" + .'CapacityUnitMode 即CU模式'."\n" + .'EventNumMode 即按事件量计费', + 'description' => '', + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'MinCapacityUnitCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxCapacityUnitCount', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '34AD682D-5B91-5773-8132-AA38C130****', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'ServiceNotEnable', + 'errorMessage' => 'Service not enable', + ], + ], + [ + [ + 'errorCode' => 'EventStreamingNotExisted', + 'errorMessage' => 'the event streaming is not existed.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"34AD682D-5B91-5773-8132-AA38C130****\\",\\n \\"Code\\": \\"Success\\",\\n \\"Success\\": true,\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => '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', + ], + ], +]; |
