pub struct ActivatePipeline { /* 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 ActivatePipeline
impl ActivatePipeline
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ActivatePipeline, AwsResponseRetryClassifier>, SdkError<ActivatePipelineError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ActivatePipeline, AwsResponseRetryClassifier>, SdkError<ActivatePipelineError>>
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<ActivatePipelineOutput, SdkError<ActivatePipelineError>>
pub async fn send(
self
) -> Result<ActivatePipelineOutput, SdkError<ActivatePipelineError>>
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_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 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 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.
Trait Implementations§
source§impl Clone for ActivatePipeline
impl Clone for ActivatePipeline
source§fn clone(&self) -> ActivatePipeline
fn clone(&self) -> ActivatePipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more