Struct aws_sdk_opsworks::input::StopInstanceInput [−][src]
#[non_exhaustive]pub struct StopInstanceInput {
pub instance_id: Option<String>,
pub force: Option<bool>,
}
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.instance_id: Option<String>
The instance ID.
force: Option<bool>
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or EBS-backed,
adding the Force
parameter to the StopInstances
API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance.
You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopInstance, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopInstance, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StopInstance
>
Creates a new builder-style object to manufacture StopInstanceInput
The instance ID.
Specifies whether to force an instance to stop. If the instance's root device type is ebs
, or EBS-backed,
adding the Force
parameter to the StopInstances
API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance.
You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.
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 StopInstanceInput
impl Send for StopInstanceInput
impl Sync for StopInstanceInput
impl Unpin for StopInstanceInput
impl UnwindSafe for StopInstanceInput
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