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

********************************
update_smb_file_share_visibility
********************************



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

  

  Controls whether the shares on an S3 File Gateway are visible in a net view or browse list. The operation is only supported for S3 File Gateways.

  

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


  **Request Syntax**
  ::

    response = client.update_smb_file_share_visibility(
        GatewayARN='string',
        FileSharesVisible=True|False
    )
    
  :type GatewayARN: string
  :param GatewayARN: **[REQUIRED]** 

    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.

    

  
  :type FileSharesVisible: boolean
  :param FileSharesVisible: **[REQUIRED]** 

    The shares on this gateway appear when listing shares.

    

  
  
  :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`

  