aws_sdk_backupgateway/client/
update_gateway_information.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 [`UpdateGatewayInformation`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway to update.</p><br>
7    ///   - [`gateway_display_name(impl Into<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::gateway_display_name) / [`set_gateway_display_name(Option<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_gateway_display_name):<br>required: **false**<br><p>The updated display name of the gateway.</p><br>
8    /// - On success, responds with [`UpdateGatewayInformationOutput`](crate::operation::update_gateway_information::UpdateGatewayInformationOutput) with field(s):
9    ///   - [`gateway_arn(Option<String>)`](crate::operation::update_gateway_information::UpdateGatewayInformationOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway you updated.</p>
10    /// - On failure, responds with [`SdkError<UpdateGatewayInformationError>`](crate::operation::update_gateway_information::UpdateGatewayInformationError)
11    pub fn update_gateway_information(&self) -> crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder {
12        crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::new(self.handle.clone())
13    }
14}