@sap-ai-sdk/ai-api
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
78 lines • 4.19 kB
TypeScript
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
import type { AiExecutionScheduleList, AiExecutionScheduleCreationData, AiExecutionScheduleCreationResponse, AiExecutionSchedule, AiExecutionScheduleModificationRequest, AiExecutionScheduleModificationResponse, AiExecutionScheduleDeletionResponse } from './schema/index.js';
/**
* Representation of the 'ExecutionScheduleApi'.
* This API is part of the 'AI_CORE_API' service.
*/
export declare const ExecutionScheduleApi: {
_defaultBasePath: undefined;
/**
* Retrieve a list of execution schedules that match the specified filter criteria.
* Filter criteria include executionScheduleStatus or a configurationId.
* With top/skip parameters it is possible to paginate the result list.
*
* @param queryParameters - Object containing the following keys: configurationId, status, $top, $skip.
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleQuery: (queryParameters: {
configurationId?: string;
status?: "ACTIVE" | "INACTIVE";
$top?: number;
$skip?: number;
}, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<AiExecutionScheduleList>;
/**
* Create an execution schedule using the configuration specified by configurationId, and schedule.
* @param body - Request body.
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleCreate: (body: AiExecutionScheduleCreationData, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<AiExecutionScheduleCreationResponse>;
/**
* Retrieve details for execution schedule with executionScheduleId.
* @param executionScheduleId - Execution Schedule identifier
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleGet: (executionScheduleId: string, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<AiExecutionSchedule>;
/**
* Update details of an execution schedule
* @param executionScheduleId - Execution Schedule identifier
* @param body - Request body.
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleModify: (executionScheduleId: string, body: AiExecutionScheduleModificationRequest, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<AiExecutionScheduleModificationResponse>;
/**
* Delete the execution schedule with executionScheduleId.
* @param executionScheduleId - Execution Schedule identifier
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleDelete: (executionScheduleId: string, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<AiExecutionScheduleDeletionResponse>;
/**
* Retrieve the number of scheduled executions. The number can be filtered by
* configurationId or executionScheduleStatus.
*
* @param queryParameters - Object containing the following keys: configurationId, status.
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
executionScheduleCount: (queryParameters: {
configurationId?: string;
status?: "ACTIVE" | "INACTIVE";
}, headerParameters: {
"AI-Resource-Group": string;
}) => OpenApiRequestBuilder<number>;
};
//# sourceMappingURL=execution-schedule-api.d.ts.map