20
20
21
21
import attr
22
22
import botocore
23
-
24
23
from botocore .exceptions import ClientError
25
24
26
25
from sagemaker ._studio import _append_project_tags
@@ -197,13 +196,15 @@ def delete(self) -> Dict[str, Any]:
197
196
def start (
198
197
self ,
199
198
parameters : Dict [str , Any ] = None ,
199
+ execution_display_name : str = None ,
200
200
execution_description : str = None ,
201
201
):
202
202
"""Starts a Pipeline execution in the Workflow service.
203
203
204
204
Args:
205
205
parameters (List[Dict[str, str]]): A list of parameter dicts of the form
206
206
{"Name": "string", "Value": "string"}.
207
+ execution_display_name (str): The display name of the pipeline execution.
207
208
execution_description (str): A description of the execution.
208
209
209
210
Returns:
@@ -220,11 +221,13 @@ def start(
220
221
"This pipeline is not associated with a Pipeline in SageMaker. "
221
222
"Please invoke create() first before attempting to invoke start()."
222
223
)
224
+
223
225
kwargs = dict (PipelineName = self .name )
224
226
update_args (
225
227
kwargs ,
226
228
PipelineParameters = format_start_parameters (parameters ),
227
229
PipelineExecutionDescription = execution_description ,
230
+ PipelineExecutionDisplayName = execution_display_name ,
228
231
)
229
232
response = self .sagemaker_session .sagemaker_client .start_pipeline_execution (** kwargs )
230
233
return _PipelineExecution (
0 commit comments