1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSMBSecurityStrategy`](crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder::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>
    ///   - [`smb_security_strategy(SmbSecurityStrategy)`](crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder::smb_security_strategy) / [`set_smb_security_strategy(Option<SmbSecurityStrategy>)`](crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder::set_smb_security_strategy):<br>required: **true**<br><p>Specifies the type of security strategy.</p> <p>ClientSpecified: if you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only in S3 File Gateway.</p> <p>MandatorySigning: if you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.</p> <p>MandatoryEncryption: if you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.</p><br>
    /// - On success, responds with [`UpdateSmbSecurityStrategyOutput`](crate::operation::update_smb_security_strategy::UpdateSmbSecurityStrategyOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::update_smb_security_strategy::UpdateSmbSecurityStrategyOutput::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>
    /// - On failure, responds with [`SdkError<UpdateSMBSecurityStrategyError>`](crate::operation::update_smb_security_strategy::UpdateSMBSecurityStrategyError)
    pub fn update_smb_security_strategy(&self) -> crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder {
        crate::operation::update_smb_security_strategy::builders::UpdateSMBSecurityStrategyFluentBuilder::new(self.handle.clone())
    }
}