aws_sdk_opsworks/client/
reboot_instance.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`RebootInstance`](crate::operation::reboot_instance::builders::RebootInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::reboot_instance::builders::RebootInstanceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::reboot_instance::builders::RebootInstanceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The instance ID.</p><br>
7    /// - On success, responds with [`RebootInstanceOutput`](crate::operation::reboot_instance::RebootInstanceOutput)
8    /// - On failure, responds with [`SdkError<RebootInstanceError>`](crate::operation::reboot_instance::RebootInstanceError)
9    pub fn reboot_instance(&self) -> crate::operation::reboot_instance::builders::RebootInstanceFluentBuilder {
10        crate::operation::reboot_instance::builders::RebootInstanceFluentBuilder::new(self.handle.clone())
11    }
12}