1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeregisterGatewayInstance`](crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`force(bool)`](crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder::set_force):<br>required: **false**<br>Force the deregistration of an instance. Force will deregister an instance, even if there are bridges running on it.<br>
    ///   - [`gateway_instance_arn(impl Into<String>)`](crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder::gateway_instance_arn) / [`set_gateway_instance_arn(Option<String>)`](crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder::set_gateway_instance_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the gateway that contains the instance that you want to deregister.<br>
    /// - On success, responds with [`DeregisterGatewayInstanceOutput`](crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceOutput) with field(s):
    ///   - [`gateway_instance_arn(Option<String>)`](crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceOutput::gateway_instance_arn): The Amazon Resource Name (ARN) of the instance.
    ///   - [`instance_state(Option<InstanceState>)`](crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceOutput::instance_state): The status of the instance.
    /// - On failure, responds with [`SdkError<DeregisterGatewayInstanceError>`](crate::operation::deregister_gateway_instance::DeregisterGatewayInstanceError)
    pub fn deregister_gateway_instance(&self) -> crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder {
        crate::operation::deregister_gateway_instance::builders::DeregisterGatewayInstanceFluentBuilder::new(self.handle.clone())
    }
}