{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ErrorRsp":{"description":"失败时返回的对象。","properties":{"error_code":{"description":"错误码。","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"EventInstance":{"properties":{"event_id":{"description":"**参数解释**:\n\n事件id\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":72,"minLength":0,"type":"string"},"instance_id":{"description":"**参数解释**:\n\n实例id\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"}},"required":["event_id","instance_id"],"type":"object"},"EventJobResult":{"properties":{"error_code":{"description":"**参数解释**:\n\n错误码\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"error_msg":{"description":"**参数解释**:\n\n错误信息\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":10000,"minLength":0,"type":"string"},"id":{"description":"**参数解释**:\n\n事件id\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":72,"minLength":0,"type":"string"},"instance_id":{"description":"**参数解释**:\n\n实例id\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"job_id":{"description":"**参数解释**:\n\n任务id\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":72,"minLength":0,"type":"string"},"success":{"description":"**参数解释**:\n\n是否成功\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","type":"boolean"}},"type":"object"},"EventScheduleWindow":{"properties":{"end_time":{"description":"**参数解释**:\n\n计划执行窗口结束时间\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"planned_day":{"description":"**参数解释**:\n\n计划执行日期 yyyy-MM-dd\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"},"start_time":{"description":"**参数解释**:\n\n计划执行窗口开始时间\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"}},"required":["planned_day"],"type":"object"},"OperateEventReq":{"properties":{"event_instances":{"description":"**参数解释**:\n\n事件列表\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","items":{"$ref":"#/definitions/EventInstance"},"type":"array"},"event_schedule_window":{"$ref":"#/definitions/EventScheduleWindow","description":"**参数解释**:\n\n事件调度窗口,operation_type=reservation的时候必传\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。"},"operation_type":{"description":"**参数解释**:\n\n事件操作类型:cancel|execute|reservation\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","maxLength":36,"minLength":0,"type":"string"}},"required":["event_instances","operation_type"],"type":"object"},"OperateEventRsp":{"properties":{"results":{"description":"**参数解释**:\n\n事件操作响应结果\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","items":{"$ref":"#/definitions/EventJobResult"},"maxItems":10000,"minItems":0,"type":"array"}},"type":"object"}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"7703018507774c7ea8ed9f841446db7f","info_version":"v3","method":"post","name":"BatchExecuteEvents","parameters":{},"paths":{"/v3/{project_id}/schedule-events":{"post":{"description":"操作EG事件中心通知的事件","operationId":"BatchExecuteEvents","parameters":[{"description":"**参数解释**:\n\n租户在某一Region下的项目ID。\n\n获取方法请参见获取项目ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"path","maxLength":36,"minLength":0,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n\n用户Token。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"header","maxLength":20000,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},{"description":"**参数解释**:\n\n请求语言类型。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n- en-us\n- zh-cn\n**默认取值**:\n\nen-us。","in":"header","maxLength":36,"minLength":0,"name":"X-Language","required":false,"type":"string"},{"description":"操作事件请求体","in":"body","name":"BatchExecuteEventsRequestBody","required":true,"schema":{"$ref":"#/definitions/OperateEventReq"}}],"responses":{"200":{"description":"操作事件响应体","schema":{"$ref":"#/definitions/OperateEventRsp"}},"400":{"description":"Error response","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"操作EG事件中心通知的事件","tags":["事件中心"],"x-api-type":"open-api","x-apigateway-ratelimit":"rds_user_policy_100","x-is-registered":"Y","x-publishpath":20251107,"x-request-examples-1":{"event_instances":[{"event_id":"131375c299d54da989589048900e568fev01","instance_id":"a2c16e6bfd3d4d28ba41091b95488618in01"}],"event_schedule_window":{"end_time":"10:00","planned_day":"2025-11-13","start_time":"06:00"},"operation_type":"reservation"},"x-request-examples-text-1":{"event_instances":[{"event_id":"131375c299d54da989589048900e568fev01","instance_id":"a2c16e6bfd3d4d28ba41091b95488618in01"}],"event_schedule_window":{"end_time":"10:00","planned_day":"2025-11-13","start_time":"06:00"},"operation_type":"reservation"},"x-request-examples-url-1":"/rds/v3/54623db08b174c858ba779d2aa7923a3/schedule-events","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"操作EG事件中心通知的事件","tags":"事件中心","uri":null,"version":"2.0"}