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 [`SetSMBGuestPassword`](crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is associated with.</p><br>
    ///   - [`password(impl Into<String>)`](crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder::set_password):<br>required: **true**<br><p>The password that you want to set for your SMB server.</p><br>
    /// - On success, responds with [`SetSmbGuestPasswordOutput`](crate::operation::set_smb_guest_password::SetSmbGuestPasswordOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::set_smb_guest_password::SetSmbGuestPasswordOutput::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<SetSMBGuestPasswordError>`](crate::operation::set_smb_guest_password::SetSMBGuestPasswordError)
    pub fn set_smb_guest_password(&self) -> crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder {
        crate::operation::set_smb_guest_password::builders::SetSMBGuestPasswordFluentBuilder::new(self.handle.clone())
    }
}