1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeSMBSettings`](crate::operation::describe_smb_settings::builders::DescribeSMBSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_smb_settings::builders::DescribeSMBSettingsFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_smb_settings::builders::DescribeSMBSettingsFluentBuilder::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>
    /// - On success, responds with [`DescribeSmbSettingsOutput`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::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>
    ///   - [`domain_name(Option<String>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::domain_name): <p>The name of the domain that the gateway is joined to.</p>
    ///   - [`active_directory_status(Option<ActiveDirectoryStatus>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::active_directory_status): <p>Indicates the status of a gateway that is a member of the Active Directory domain.</p> <ul>  <li>   <p><code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p></li>  <li>   <p><code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p></li>  <li>   <p><code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p></li>  <li>   <p><code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p></li>  <li>   <p><code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p></li>  <li>   <p><code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p></li>  <li>   <p><code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p></li> </ul>
    ///   - [`smb_guest_password_set(Option<bool>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::smb_guest_password_set): <p>This value is <code>true</code> if a password for the guest user <code>smbguest</code> is set, otherwise <code>false</code>. Only supported for S3 File Gateways.</p> <p>Valid Values: <code>true</code> | <code>false</code></p>
    ///   - [`smb_security_strategy(Option<SmbSecurityStrategy>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::smb_security_strategy): <p>The type of security strategy that was specified for file gateway.</p> <ul>  <li>   <p><code>ClientSpecified</code>: If you choose 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 for S3 File Gateway.</p></li>  <li>   <p><code>MandatorySigning</code>: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later.</p></li>  <li>   <p><code>MandatoryEncryption</code>: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.</p></li>  <li>   <p><code>MandatoryEncryptionNoAes128</code>: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.</p></li> </ul>
    ///   - [`file_shares_visible(Option<bool>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::file_shares_visible): <p>The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.</p>
    ///   - [`smb_local_groups(Option<SmbLocalGroups>)`](crate::operation::describe_smb_settings::DescribeSmbSettingsOutput::smb_local_groups): <p>A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.</p>
    /// - On failure, responds with [`SdkError<DescribeSMBSettingsError>`](crate::operation::describe_smb_settings::DescribeSMBSettingsError)
    pub fn describe_smb_settings(&self) -> crate::operation::describe_smb_settings::builders::DescribeSMBSettingsFluentBuilder {
        crate::operation::describe_smb_settings::builders::DescribeSMBSettingsFluentBuilder::new(self.handle.clone())
    }
}