create_workflow_definition
¶
create_workflow_definition(
name: WorkflowDefinitionName,
*,
config_overrides: Optional[NovaActClientConfig] = None,
description: Optional[WorkflowDescription] = None,
export_config: Optional[WorkflowExportConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CreateWorkflowDefinitionResponse
Creates a new workflow definition template that can be used to execute multiple workflow runs.
Parameters:
-
name(WorkflowDefinitionName) –The name of the workflow definition. Must be unique within your account and region.
-
description(Optional[WorkflowDescription], default:None) –An optional description of the workflow definition's purpose and functionality.
-
export_config(Optional[WorkflowExportConfig], default:None) –Configuration for exporting workflow execution data to Amazon Simple Storage Service.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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.
-
ServiceQuotaExceededException–The request would exceed a service quota limit.
-
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/nova_act.py
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 | |