:doc:`StorageGateway <../../storagegateway>` / Client / set_smb_guest_password

**********************
set_smb_guest_password
**********************



.. py:method:: StorageGateway.Client.set_smb_guest_password(**kwargs)

  

  Sets the password for the guest user ``smbguest``. The ``smbguest`` user is the user when the authentication method for the file share is set to ``GuestAccess``. This operation only supported for S3 File Gateways

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPassword>`_  


  **Request Syntax**
  ::

    response = client.set_smb_guest_password(
        GatewayARN='string',
        Password='string'
    )
    
  :type GatewayARN: string
  :param GatewayARN: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is associated with.

    

  
  :type Password: string
  :param Password: **[REQUIRED]** 

    The password that you want to set for your SMB server.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'GatewayARN': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GatewayARN** *(string) --* 

        The Amazon Resource Name (ARN) of the gateway. Use the  ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

        
  
  **Exceptions**
  
  *   :py:class:`StorageGateway.Client.exceptions.InvalidGatewayRequestException`

  
  *   :py:class:`StorageGateway.Client.exceptions.InternalServerError`

  