aws_sdk_backupgateway/client/
disassociate_gateway_from_server.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 [`DisassociateGatewayFromServer`](crate::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway to disassociate.</p><br>
7    /// - On success, responds with [`DisassociateGatewayFromServerOutput`](crate::operation::disassociate_gateway_from_server::DisassociateGatewayFromServerOutput) with field(s):
8    ///   - [`gateway_arn(Option<String>)`](crate::operation::disassociate_gateway_from_server::DisassociateGatewayFromServerOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway you disassociated.</p>
9    /// - On failure, responds with [`SdkError<DisassociateGatewayFromServerError>`](crate::operation::disassociate_gateway_from_server::DisassociateGatewayFromServerError)
10    pub fn disassociate_gateway_from_server(
11        &self,
12    ) -> crate::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerFluentBuilder {
13        crate::operation::disassociate_gateway_from_server::builders::DisassociateGatewayFromServerFluentBuilder::new(self.handle.clone())
14    }
15}