#[non_exhaustive]pub struct DeactivatePipelineInput {
pub pipeline_id: Option<String>,
pub cancel_active: Option<bool>,
}
Expand description
Contains the parameters for DeactivatePipeline.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pipeline_id: Option<String>
The ID of the pipeline.
cancel_active: Option<bool>
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeactivatePipeline, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeactivatePipeline, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeactivatePipeline
>
Creates a new builder-style object to manufacture DeactivatePipelineInput
The ID of the pipeline.
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeactivatePipelineInput
impl Send for DeactivatePipelineInput
impl Sync for DeactivatePipelineInput
impl Unpin for DeactivatePipelineInput
impl UnwindSafe for DeactivatePipelineInput
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