Struct aws_sdk_sagemaker::client::fluent_builders::CreatePipeline
source · pub struct CreatePipeline { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePipeline
.
Creates a pipeline using a JSON pipeline definition.
Implementations§
source§impl CreatePipeline
impl CreatePipeline
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreatePipeline, AwsResponseRetryClassifier>, SdkError<CreatePipelineError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreatePipeline, AwsResponseRetryClassifier>, SdkError<CreatePipelineError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError>>
pub async fn send(
self
) -> Result<CreatePipelineOutput, SdkError<CreatePipelineError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline.
sourcepub fn pipeline_display_name(self, input: impl Into<String>) -> Self
pub fn pipeline_display_name(self, input: impl Into<String>) -> Self
The display name of the pipeline.
sourcepub fn set_pipeline_display_name(self, input: Option<String>) -> Self
pub fn set_pipeline_display_name(self, input: Option<String>) -> Self
The display name of the pipeline.
sourcepub fn pipeline_definition(self, input: impl Into<String>) -> Self
pub fn pipeline_definition(self, input: impl Into<String>) -> Self
The JSON pipeline definition of the pipeline.
sourcepub fn set_pipeline_definition(self, input: Option<String>) -> Self
pub fn set_pipeline_definition(self, input: Option<String>) -> Self
The JSON pipeline definition of the pipeline.
sourcepub fn pipeline_definition_s3_location(
self,
input: PipelineDefinitionS3Location
) -> Self
pub fn pipeline_definition_s3_location(
self,
input: PipelineDefinitionS3Location
) -> Self
The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location.
sourcepub fn set_pipeline_definition_s3_location(
self,
input: Option<PipelineDefinitionS3Location>
) -> Self
pub fn set_pipeline_definition_s3_location(
self,
input: Option<PipelineDefinitionS3Location>
) -> Self
The location of the pipeline definition stored in Amazon S3. If specified, SageMaker will retrieve the pipeline definition from this location.
sourcepub fn pipeline_description(self, input: impl Into<String>) -> Self
pub fn pipeline_description(self, input: impl Into<String>) -> Self
A description of the pipeline.
sourcepub fn set_pipeline_description(self, input: Option<String>) -> Self
pub fn set_pipeline_description(self, input: Option<String>) -> Self
A description of the pipeline.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the created pipeline.
A list of tags to apply to the created pipeline.
sourcepub fn parallelism_configuration(self, input: ParallelismConfiguration) -> Self
pub fn parallelism_configuration(self, input: ParallelismConfiguration) -> Self
This is the configuration that controls the parallelism of the pipeline. If specified, it applies to all runs of this pipeline by default.
sourcepub fn set_parallelism_configuration(
self,
input: Option<ParallelismConfiguration>
) -> Self
pub fn set_parallelism_configuration(
self,
input: Option<ParallelismConfiguration>
) -> Self
This is the configuration that controls the parallelism of the pipeline. If specified, it applies to all runs of this pipeline by default.
Trait Implementations§
source§impl Clone for CreatePipeline
impl Clone for CreatePipeline
source§fn clone(&self) -> CreatePipeline
fn clone(&self) -> CreatePipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more