@@ -161,8 +161,16 @@ def run(
161161 job_name (str): Processing job name. If not specified, the processor generates
162162 a default job name, based on the base job name and current timestamp.
163163 experiment_config (dict[str, str]): Experiment management configuration.
164- Dictionary contains three optional keys:
164+ Optionally, the dict can contain three keys:
165165 'ExperimentName', 'TrialName', and 'TrialComponentDisplayName'.
166+ The behavior of setting these keys is as follows:
167+ * If `ExperimentName` is supplied but `TrialName` is not a Trial will be
168+ automatically created and the job's Trial Component associated with the Trial.
169+ * If `TrialName` is supplied and the Trial already exists the job's Trial Component
170+ will be associated with the Trial.
171+ * If both `ExperimentName` and `TrialName` are not supplied the trial component
172+ will be unassociated.
173+ * `TrialComponentDisplayName` is used for display in Studio.
166174 kms_key (str): The ARN of the KMS key that is used to encrypt the
167175 user code file (default: None).
168176
@@ -514,10 +522,16 @@ def run(
514522 job_name (str): Processing job name. If not specified, the processor generates
515523 a default job name, based on the base job name and current timestamp.
516524 experiment_config (dict[str, str]): Experiment management configuration.
517- Dictionary contains three optional keys:
525+ Optionally, the dict can contain three keys:
518526 'ExperimentName', 'TrialName', and 'TrialComponentDisplayName'.
519- kms_key (str): The ARN of the KMS key that is used to encrypt the
520- user code file (default: None).
527+ The behavior of setting these keys is as follows:
528+ * If `ExperimentName` is supplied but `TrialName` is not a Trial will be
529+ automatically created and the job's Trial Component associated with the Trial.
530+ * If `TrialName` is supplied and the Trial already exists the job's Trial Component
531+ will be associated with the Trial.
532+ * If both `ExperimentName` and `TrialName` are not supplied the trial component
533+ will be unassociated.
534+ * `TrialComponentDisplayName` is used for display in Studio.
521535 """
522536 normalized_inputs , normalized_outputs = self ._normalize_args (
523537 job_name = job_name ,
@@ -728,8 +742,16 @@ def start_new(cls, processor, inputs, outputs, experiment_config):
728742 outputs (list[:class:`~sagemaker.processing.ProcessingOutput`]): A list of
729743 :class:`~sagemaker.processing.ProcessingOutput` objects.
730744 experiment_config (dict[str, str]): Experiment management configuration.
731- Dictionary contains three optional keys:
745+ Optionally, the dict can contain three keys:
732746 'ExperimentName', 'TrialName', and 'TrialComponentDisplayName'.
747+ The behavior of setting these keys is as follows:
748+ * If `ExperimentName` is supplied but `TrialName` is not a Trial will be
749+ automatically created and the job's Trial Component associated with the Trial.
750+ * If `TrialName` is supplied and the Trial already exists the job's Trial Component
751+ will be associated with the Trial.
752+ * If both `ExperimentName` and `TrialName` are not supplied the trial component
753+ will be unassociated.
754+ * `TrialComponentDisplayName` is used for display in Studio.
733755
734756 Returns:
735757 :class:`~sagemaker.processing.ProcessingJob`: The instance of ``ProcessingJob`` created
@@ -766,8 +788,16 @@ def _get_process_args(cls, processor, inputs, outputs, experiment_config):
766788 outputs (list[:class:`~sagemaker.processing.ProcessingOutput`]): A list of
767789 :class:`~sagemaker.processing.ProcessingOutput` objects.
768790 experiment_config (dict[str, str]): Experiment management configuration.
769- Dictionary contains three optional keys:
791+ Optionally, the dict can contain three keys:
770792 'ExperimentName', 'TrialName', and 'TrialComponentDisplayName'.
793+ The behavior of setting these keys is as follows:
794+ * If `ExperimentName` is supplied but `TrialName` is not a Trial will be
795+ automatically created and the job's Trial Component associated with the Trial.
796+ * If `TrialName` is supplied and the Trial already exists the job's Trial Component
797+ will be associated with the Trial.
798+ * If both `ExperimentName` and `TrialName` are not supplied the trial component
799+ will be unassociated.
800+ * `TrialComponentDisplayName` is used for display in Studio.
771801
772802 Returns:
773803 Dict: dict for `sagemaker.session.Session.process` method
@@ -1546,8 +1576,16 @@ def run( # type: ignore[override]
15461576 job_name (str): Processing job name. If not specified, the processor generates
15471577 a default job name, based on the base job name and current timestamp.
15481578 experiment_config (dict[str, str]): Experiment management configuration.
1549- Dictionary contains three optional keys:
1579+ Optionally, the dict can contain three keys:
15501580 'ExperimentName', 'TrialName', and 'TrialComponentDisplayName'.
1581+ The behavior of setting these keys is as follows:
1582+ * If `ExperimentName` is supplied but `TrialName` is not a Trial will be
1583+ automatically created and the job's Trial Component associated with the Trial.
1584+ * If `TrialName` is supplied and the Trial already exists the job's Trial Component
1585+ will be associated with the Trial.
1586+ * If both `ExperimentName` and `TrialName` are not supplied the trial component
1587+ will be unassociated.
1588+ * `TrialComponentDisplayName` is used for display in Studio.
15511589 kms_key (str): The ARN of the KMS key that is used to encrypt the
15521590 user code file (default: None).
15531591 """
0 commit comments