StorageGateway / Client / update_smb_file_share_visibility

update_smb_file_share_visibility#

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

Request Syntax

response = client.update_smb_file_share_visibility(
    GatewayARN='string',
    FileSharesVisible=True|False
)
Parameters:
  • GatewayARN (string) –

    [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.

  • FileSharesVisible (boolean) –

    [REQUIRED]

    The shares on this gateway appear when listing shares.

Return type:

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