create_workflow
¶
create_workflow(
name: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
description: Optional[WorkflowDescriptionString] = None,
default_run_properties: Optional[WorkflowRunProperties] = None,
tags: Optional[TagsMap] = None,
max_concurrent_runs: Optional[NullableInteger] = None,
) -> CreateWorkflowResponse
Creates a new workflow.
Parameters:
-
name(NameString) –The name to be assigned to the workflow. It should be unique within your account.
-
description(Optional[WorkflowDescriptionString], default:None) –A description of the workflow.
-
default_run_properties(Optional[WorkflowRunProperties], default:None) –A collection of properties to be used as part of each execution of the workflow.
Run properties may be logged. Do not pass plaintext secrets as properties. Retrieve secrets from a Glue Connection, Amazon Web Services Secrets Manager or other secret management mechanism if you intend to use them within the workflow run.
-
tags(Optional[TagsMap], default:None) –The tags to be used with this workflow.
-
max_concurrent_runs(Optional[NullableInteger], default:None) –You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 | |