Class OrchestrationConfigsApi
- Direct Known Subclasses:
OrchestrationConfigClient
Prompt Storage service for Design time invalid input: '&' Runtime prompt templates.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.services.openapi.apache.apiclient.BaseApi
apiClient, defaultHeaders -
Constructor Summary
ConstructorsConstructorDescriptionOrchestrationConfigsApi(com.sap.cloud.sdk.cloudplatform.connectivity.Destination httpDestination) Instantiates this API class to invoke operations on the Prompt Registry API.OrchestrationConfigsApi(com.sap.cloud.sdk.services.openapi.apache.apiclient.ApiClient apiClient) Instantiates this API class to invoke operations on the Prompt Registry API based on a givenApiClient. -
Method Summary
Modifier and TypeMethodDescriptioncreateUpdateOrchestrationConfig(OrchestrationConfigPostRequest orchestrationConfigPostRequest) Create or update an orchestration configcreateUpdateOrchestrationConfig(OrchestrationConfigPostRequest orchestrationConfigPostRequest, String aiResourceGroup) Create or update an orchestration configdeleteOrchestrationConfig(UUID orchestrationConfigId) Delete orchestration configdeleteOrchestrationConfig(UUID orchestrationConfigId, String aiResourceGroup) Delete orchestration configbyte[]exportOrchestrationConfig(UUID orchestrationConfigId) Export orchestration configbyte[]exportOrchestrationConfig(UUID orchestrationConfigId, String aiResourceGroup) Export orchestration configgetOrchestrationConfigByUuid(UUID orchestrationConfigId) Get orchestration config by UUIDgetOrchestrationConfigByUuid(UUID orchestrationConfigId, String aiResourceGroup, Boolean resolveTemplateRef, Boolean resolveTemplateRef2) Get orchestration config by UUIDImport orchestration configimportOrchestrationConfig(String aiResourceGroup, File _file) Import orchestration configlistOrchestrationConfigHistory(String scenario, String version, String name) List orchestration config historylistOrchestrationConfigHistory(String scenario, String version, String name, String aiResourceGroup, Boolean includeSpec, Boolean includeSpec2, Boolean resolveTemplateRef, Boolean resolveTemplateRef2) List orchestration config historyList orchestration configslistOrchestrationConfigs(String aiResourceGroup, String scenario, String name, String version, String retrieve, Boolean includeSpec, Boolean includeSpec2, Boolean resolveTemplateRef, Boolean resolveTemplateRef2) List orchestration configswithDefaultHeaders(Map<String, String> defaultHeaders) Creates a new API instance with additional default headers.
-
Constructor Details
-
OrchestrationConfigsApi
public OrchestrationConfigsApi(@Nonnull com.sap.cloud.sdk.cloudplatform.connectivity.Destination httpDestination) Instantiates this API class to invoke operations on the Prompt Registry API.- Parameters:
httpDestination- The destination that API should be used with
-
OrchestrationConfigsApi
public OrchestrationConfigsApi(@Nonnull com.sap.cloud.sdk.services.openapi.apache.apiclient.ApiClient apiClient) Instantiates this API class to invoke operations on the Prompt Registry API based on a givenApiClient.- Parameters:
apiClient- ApiClient to invoke the API on
-
-
Method Details
-
withDefaultHeaders
Creates a new API instance with additional default headers.- Parameters:
defaultHeaders- Additional headers to include in all requests- Returns:
- A new API instance with the combined headers
-
createUpdateOrchestrationConfig
@Nonnull public OrchestrationConfigPostResponse createUpdateOrchestrationConfig(@Nonnull OrchestrationConfigPostRequest orchestrationConfigPostRequest, @Nullable String aiResourceGroup) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Create or update an orchestration config200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
orchestrationConfigPostRequest- (required) The value for the parameter orchestrationConfigPostRequestaiResourceGroup- (optional) Specify a resource group id to use- Returns:
- OrchestrationConfigPostResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
createUpdateOrchestrationConfig
@Nonnull public OrchestrationConfigPostResponse createUpdateOrchestrationConfig(@Nonnull OrchestrationConfigPostRequest orchestrationConfigPostRequest) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Create or update an orchestration config200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
orchestrationConfigPostRequest- The value for the parameter orchestrationConfigPostRequest- Returns:
- OrchestrationConfigPostResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
deleteOrchestrationConfig
@Nonnull public OrchestrationConfigDeleteResponse deleteOrchestrationConfig(@Nonnull UUID orchestrationConfigId, @Nullable String aiResourceGroup) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Delete orchestration config200 - Successful response
403 - Forbidden Error
404 - Bad Request
0 - Common Error
- Parameters:
orchestrationConfigId- (required) The value for the parameter orchestrationConfigIdaiResourceGroup- (optional) Specify a resource group id to use- Returns:
- OrchestrationConfigDeleteResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
deleteOrchestrationConfig
@Nonnull public OrchestrationConfigDeleteResponse deleteOrchestrationConfig(@Nonnull UUID orchestrationConfigId) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Delete orchestration config200 - Successful response
403 - Forbidden Error
404 - Bad Request
0 - Common Error
- Parameters:
orchestrationConfigId- The value for the parameter orchestrationConfigId- Returns:
- OrchestrationConfigDeleteResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
exportOrchestrationConfig
@Nonnull public byte[] exportOrchestrationConfig(@Nonnull UUID orchestrationConfigId, @Nullable String aiResourceGroup) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Export orchestration config200 - Successful response
400 - Bad Request
0 - Common Error
- Parameters:
orchestrationConfigId- (required) The value for the parameter orchestrationConfigIdaiResourceGroup- (optional) Specify a resource group id to use- Returns:
- byte[]
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
exportOrchestrationConfig
@Nonnull public byte[] exportOrchestrationConfig(@Nonnull UUID orchestrationConfigId) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Export orchestration config200 - Successful response
400 - Bad Request
0 - Common Error
- Parameters:
orchestrationConfigId- The value for the parameter orchestrationConfigId- Returns:
- byte[]
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
getOrchestrationConfigByUuid
@Nonnull public OrchestrationConfigGetResponse getOrchestrationConfigByUuid(@Nonnull UUID orchestrationConfigId, @Nullable String aiResourceGroup, @Nullable Boolean resolveTemplateRef, @Nullable Boolean resolveTemplateRef2) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Get orchestration config by UUID200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
orchestrationConfigId- (required) The value for the parameter orchestrationConfigIdaiResourceGroup- (optional) Specify a resource group id to useresolveTemplateRef- (optional, default to false) DEPRECATED: Use resolveTemplateRef insteadresolveTemplateRef2- (optional) The value for the parameter resolveTemplateRef2- Returns:
- OrchestrationConfigGetResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
getOrchestrationConfigByUuid
@Nonnull public OrchestrationConfigGetResponse getOrchestrationConfigByUuid(@Nonnull UUID orchestrationConfigId) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Get orchestration config by UUID200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
orchestrationConfigId- The value for the parameter orchestrationConfigId- Returns:
- OrchestrationConfigGetResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
importOrchestrationConfig
@Nonnull public OrchestrationConfigPostResponse importOrchestrationConfig(@Nullable String aiResourceGroup, @Nullable File _file) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Import orchestration config200 - Successful response
400 - Bad Request
0 - Common Error
- Parameters:
aiResourceGroup- (optional) Specify a resource group id to use_file- (optional) The value for the parameter _file- Returns:
- OrchestrationConfigPostResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
importOrchestrationConfig
@Nonnull public OrchestrationConfigPostResponse importOrchestrationConfig() throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestExceptionImport orchestration config200 - Successful response
400 - Bad Request
0 - Common Error
- Returns:
- OrchestrationConfigPostResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
listOrchestrationConfigHistory
@Nonnull public OrchestrationConfigListResponse listOrchestrationConfigHistory(@Nonnull String scenario, @Nonnull String version, @Nonnull String name, @Nullable String aiResourceGroup, @Nullable Boolean includeSpec, @Nullable Boolean includeSpec2, @Nullable Boolean resolveTemplateRef, @Nullable Boolean resolveTemplateRef2) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException List orchestration config history200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
scenario- (required) The value for the parameter scenarioversion- (required) The value for the parameter versionname- (required) The value for the parameter nameaiResourceGroup- (optional) Specify a resource group id to useincludeSpec- (optional, default to false) DEPRECATED: Use includeSpec insteadincludeSpec2- (optional) The value for the parameter includeSpec2resolveTemplateRef- (optional, default to false) DEPRECATED: Use resolveTemplateRef insteadresolveTemplateRef2- (optional) The value for the parameter resolveTemplateRef2- Returns:
- OrchestrationConfigListResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
listOrchestrationConfigHistory
@Nonnull public OrchestrationConfigListResponse listOrchestrationConfigHistory(@Nonnull String scenario, @Nonnull String version, @Nonnull String name) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException List orchestration config history200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
scenario- The value for the parameter scenarioversion- The value for the parameter versionname- The value for the parameter name- Returns:
- OrchestrationConfigListResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
listOrchestrationConfigs
@Nonnull public OrchestrationConfigListResponse listOrchestrationConfigs(@Nullable String aiResourceGroup, @Nullable String scenario, @Nullable String name, @Nullable String version, @Nullable String retrieve, @Nullable Boolean includeSpec, @Nullable Boolean includeSpec2, @Nullable Boolean resolveTemplateRef, @Nullable Boolean resolveTemplateRef2) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException List orchestration configs200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Parameters:
aiResourceGroup- (optional) Specify a resource group id to usescenario- (optional) The value for the parameter scenarioname- (optional) The value for the parameter nameversion- (optional) The value for the parameter versionretrieve- (optional, default to both) The value for the parameter retrieveincludeSpec- (optional, default to false) DEPRECATED: Use includeSpec insteadincludeSpec2- (optional) The value for the parameter includeSpec2resolveTemplateRef- (optional, default to false) DEPRECATED: Use resolveTemplateRef insteadresolveTemplateRef2- (optional) The value for the parameter resolveTemplateRef2- Returns:
- OrchestrationConfigListResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
listOrchestrationConfigs
@Nonnull public OrchestrationConfigListResponse listOrchestrationConfigs() throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestExceptionList orchestration configs200 - Successful response
400 - Bad Request
403 - Forbidden Error
0 - Common Error
- Returns:
- OrchestrationConfigListResponse
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-