Struct aws_sdk_codedeploy::input::StopDeploymentInput [−][src]
#[non_exhaustive]pub struct StopDeploymentInput {
pub deployment_id: Option<String>,
pub auto_rollback_enabled: Option<bool>,
}
Expand description
Represents the input of a StopDeployment
operation.
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.deployment_id: Option<String>
The unique ID of a deployment.
auto_rollback_enabled: Option<bool>
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopDeployment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopDeployment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StopDeployment
>
Creates a new builder-style object to manufacture StopDeploymentInput
The unique ID of a deployment.
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
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 StopDeploymentInput
impl Send for StopDeploymentInput
impl Sync for StopDeploymentInput
impl Unpin for StopDeploymentInput
impl UnwindSafe for StopDeploymentInput
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