Pipeline | R Documentation |
Pipeline for workflow.
sagemaker.workflow::Entity
-> Pipeline
new()
Initialize Pipeline Class
Pipeline$new( name, parameters = list(), pipeline_experiment_config = PipelineExperimentConfig$new(ExecutionVariables$PIPELINE_NAME, ExecutionVariables$PIPELINE_EXECUTION_ID), steps = list(), sagemaker_session = NULL )
name
(str): The name of the pipeline.
parameters
(Sequence[Parameter]): The list of the parameters.
pipeline_experiment_config
(Optional[PipelineExperimentConfig]): If set, the workflow will attempt to create an experiment and trial before executing the steps. Creation will be skipped if an experiment or a trial with the same name already exists. By default, pipeline name is used as experiment name and execution id is used as the trial name. If set to None, no experiment or trial will be created automatically.
steps
(Sequence[Union[Step, StepCollection]]): The list of the non-conditional steps associated with the pipeline. Any steps that are within the 'if_steps' or 'else_steps' of a 'ConditionStep' cannot be listed in the steps of a pipeline. Of particular note, the workflow service rejects any pipeline definitions that specify a step in the list of steps of a pipeline and that step in the 'if_steps' or 'else_steps' of any 'ConditionStep'.
sagemaker_session
(Session): Session object that manages interactions with Amazon SageMaker APIs and any other AWS services needed. If not specified, the pipeline creates one using the default AWS configuration chain.
to_request()
Gets the request structure for workflow service calls.
Pipeline$to_request()
create()
Creates a Pipeline in the Pipelines service.
Pipeline$create( role_arn, description = NULL, tags = NULL, parallelism_config = NULL )
role_arn
(str): The role arn that is assumed by the pipeline to create step artifacts.
description
(str): A description of the pipeline.
tags
(List[Dict[str, str]]): A list of "Key": "string", "Value": "string" dicts as tags.
parallelism_config
(Optional[ParallelismConfiguration]): Parallelism configuration that is applied to each of the executions of the pipeline. It takes precedence over the parallelism configuration of the parent pipeline.
A response dict from the service.
describe()
Describes a Pipeline in the Workflow service.
Pipeline$describe()
Response dict from the service. See 'boto3 client documentation https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.describe_pipeline
update()
Updates a Pipeline in the Workflow service.
Pipeline$update(role_arn, description = NULL, parallelism_config = NULL)
role_arn
(str): The role arn that is assumed by pipelines to create step artifacts.
description
(str): A description of the pipeline.
parallelism_config
(Optional[ParallelismConfiguration]): Parallelism configuration that is applied to each of the executions of the pipeline. It takes precedence over the parallelism configuration of the parent pipeline.
A response dict from the service.
upsert()
Creates a pipeline or updates it, if it already exists.
Pipeline$upsert( role_arn, description = NULL, tags = NULL, parallelism_config = NULL )
role_arn
(str): The role arn that is assumed by workflow to create step artifacts.
description
(str): A description of the pipeline.
tags
(List[Dict[str, str]]): A list of "Key": "string", "Value": "string" dicts as tags.
parallelism_config
(Optional[Config for parallel steps, Parallelism configuration that is applied to each of. the executions
response dict from service
delete()
Deletes a Pipeline in the Workflow service.
Pipeline$delete()
A response dict from the service.
start()
Starts a Pipeline execution in the Workflow service.
Pipeline$start( parameters = NULL, execution_display_name = NULL, execution_description = NULL, parallelism_config = NULL )
parameters
(Dict[str, Union[str, bool, int, float]]): values to override pipeline parameters.
execution_display_name
(str): The display name of the pipeline execution.
execution_description
(str): A description of the execution.
parallelism_config
(Optional[ParallelismConfiguration]): Parallelism configuration that is applied to each of the executions of the pipeline. It takes precedence over the parallelism configuration of the parent pipeline.
A '.PipelineExecution' instance, if successful.
definition()
Converts a request structure to string representation for workflow service calls.
Pipeline$definition()
clone()
The objects of this class are cloneable with this method.
Pipeline$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.