create_workflow_run
async
¶
create_workflow_run(
workflow_definition_name: WorkflowDefinitionName,
model_id: ModelId,
client_info: ClientInfo,
*,
config_overrides: Optional[AsyncNovaActClientConfig] = None,
client_token: Optional[ClientToken] = None,
log_group_name: Optional[CloudWatchLogGroupName] = None,
) -> CreateWorkflowRunResponse
Creates a new execution instance of a workflow definition with specified parameters.
Parameters:
-
workflow_definition_name(WorkflowDefinitionName) –The name of the workflow definition to execute.
-
model_id(ModelId) –The ID of the AI model to use for workflow execution.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
log_group_name(Optional[CloudWatchLogGroupName], default:None) –The CloudWatch log group name for storing workflow execution logs.
-
client_info(ClientInfo) –Information about the client making the request, including compatibility version and SDK version.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An internal server error occurred. Please try again later.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was throttled due to too many requests. Please try again later.
-
ValidationException–The input parameters for the request are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_nova_act/_services/async_nova_act.py
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 | |