aws_sdk_storagegateway/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. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
7 /// - [`gateway_name(impl Into<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::gateway_name) / [`set_gateway_name(Option<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_gateway_name):<br>required: **false**<br><p>The name you configured for your gateway.</p><br>
8 /// - [`gateway_timezone(impl Into<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::gateway_timezone) / [`set_gateway_timezone(Option<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_gateway_timezone):<br>required: **false**<br><p>A value that indicates the time zone of the gateway.</p><br>
9 /// - [`cloud_watch_log_group_arn(impl Into<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::cloud_watch_log_group_arn) / [`set_cloud_watch_log_group_arn(Option<String>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_cloud_watch_log_group_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use to monitor and log events in the gateway.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">What is Amazon CloudWatch Logs?</a></p><br>
10 /// - [`gateway_capacity(GatewayCapacity)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::gateway_capacity) / [`set_gateway_capacity(Option<GatewayCapacity>)`](crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::set_gateway_capacity):<br>required: **false**<br><p>Specifies the size of the gateway's metadata cache. This setting impacts gateway performance and hardware recommendations. For more information, see <a href="https://docs.aws.amazon.com/filegateway/latest/files3/performance-multiple-file-shares.html">Performance guidance for gateways with multiple file shares</a> in the <i>Amazon S3 File Gateway User Guide</i>.</p><br>
11 /// - On success, responds with [`UpdateGatewayInformationOutput`](crate::operation::update_gateway_information::UpdateGatewayInformationOutput) with field(s):
12 /// - [`gateway_arn(Option<String>)`](crate::operation::update_gateway_information::UpdateGatewayInformationOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
13 /// - [`gateway_name(Option<String>)`](crate::operation::update_gateway_information::UpdateGatewayInformationOutput::gateway_name): <p>The name you configured for your gateway.</p>
14 /// - On failure, responds with [`SdkError<UpdateGatewayInformationError>`](crate::operation::update_gateway_information::UpdateGatewayInformationError)
15 pub fn update_gateway_information(&self) -> crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder {
16 crate::operation::update_gateway_information::builders::UpdateGatewayInformationFluentBuilder::new(self.handle.clone())
17 }
18}