Struct aws_sdk_datapipeline::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder
source · pub struct ActivatePipelineFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ActivatePipeline
.
Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.
If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline
.
To activate a finished pipeline, modify the end date for the pipeline and then activate it.
Implementations§
source§impl ActivatePipelineFluentBuilder
impl ActivatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &ActivatePipelineInputBuilder
pub fn as_input(&self) -> &ActivatePipelineInputBuilder
Access the ActivatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<ActivatePipelineOutput, SdkError<ActivatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<ActivatePipelineOutput, SdkError<ActivatePipelineError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<ActivatePipelineOutput, ActivatePipelineError, Self>
pub fn customize( self ) -> CustomizableOperation<ActivatePipelineOutput, ActivatePipelineError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
The ID of the pipeline.
sourcepub fn parameter_values(self, input: ParameterValue) -> Self
pub fn parameter_values(self, input: ParameterValue) -> Self
Appends an item to parameterValues
.
To override the contents of this collection use set_parameter_values
.
A list of parameter values to pass to the pipeline at activation.
sourcepub fn set_parameter_values(self, input: Option<Vec<ParameterValue>>) -> Self
pub fn set_parameter_values(self, input: Option<Vec<ParameterValue>>) -> Self
A list of parameter values to pass to the pipeline at activation.
sourcepub fn get_parameter_values(&self) -> &Option<Vec<ParameterValue>>
pub fn get_parameter_values(&self) -> &Option<Vec<ParameterValue>>
A list of parameter values to pass to the pipeline at activation.
sourcepub fn start_timestamp(self, input: DateTime) -> Self
pub fn start_timestamp(self, input: DateTime) -> Self
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
sourcepub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
sourcepub fn get_start_timestamp(&self) -> &Option<DateTime>
pub fn get_start_timestamp(&self) -> &Option<DateTime>
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
Trait Implementations§
source§impl Clone for ActivatePipelineFluentBuilder
impl Clone for ActivatePipelineFluentBuilder
source§fn clone(&self) -> ActivatePipelineFluentBuilder
fn clone(&self) -> ActivatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more