StartBuildWorkflowResponse¶
- pydantic model openapi_client.models.start_build_workflow_response.StartBuildWorkflowResponse¶
Response from POST /ai/reasoning-policies/{policy_id}/build-workflows. When starting a workflow, returns Message, BuildWorkflowId, Status, and optionally StepFunctionExecutionArn. When action=generate_presigned_url, returns Message and PresignedUrl.
- Fields:
- field message: StrictStr [Required] (alias 'Message')¶
- Constraints:
strict = True
- field build_workflow_id: Optional[StrictStr] = None (alias 'BuildWorkflowId')¶
Present when a build workflow was started.
- field status: Optional[StrictStr] = None (alias 'Status')¶
Initial Bedrock workflow status when a build workflow was started.
- field step_function_execution_arn: Optional[StrictStr] = None (alias 'StepFunctionExecutionArn')¶
Optional ARN of the polling state machine execution when start succeeded.
- field presigned_url: Optional[StrictStr] = None (alias 'PresignedUrl')¶
Present when action=generate_presigned_url.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of StartBuildWorkflowResponse from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of StartBuildWorkflowResponse from a dict
- Return type:
Optional[Self]