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
5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 | |