Struct aws_sdk_elastictranscoder::client::fluent_builders::UpdatePipelineStatus [−][src]
pub struct UpdatePipelineStatus<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdatePipelineStatus
.
The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.
Implementations
impl<C, M, R> UpdatePipelineStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdatePipelineStatus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdatePipelineStatusOutput, SdkError<UpdatePipelineStatusError>> where
R::Policy: SmithyRetryPolicy<UpdatePipelineStatusInputOperationOutputAlias, UpdatePipelineStatusOutput, UpdatePipelineStatusError, UpdatePipelineStatusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdatePipelineStatusOutput, SdkError<UpdatePipelineStatusError>> where
R::Policy: SmithyRetryPolicy<UpdatePipelineStatusInputOperationOutputAlias, UpdatePipelineStatusOutput, UpdatePipelineStatusError, UpdatePipelineStatusInputOperationRetryAlias>,
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.
The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdatePipelineStatus<C, M, R>
impl<C, M, R> Send for UpdatePipelineStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdatePipelineStatus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdatePipelineStatus<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdatePipelineStatus<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more