// Gets a list of the file shares for a specific file gateway, or the list of file
// shares that belong to the calling user account. This operation is only supported
// for file gateways.
Gets a list of the file shares for a specific file gateway, or the list of file
shares that belong to the calling user account. This operation is only supported
for file gateways.
// Gets a list of the file shares for a specific file gateway or the list of file // shares that belong to the calling user account . This operation is only supported // for file gateways .
func (c *Client) ListFileShares(ctx context.Context, params *ListFileSharesInput, optFns ...func(*Options)) (*ListFileSharesOutput, error) {
	if params == nil {
		params = &ListFileSharesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListFileShares", params, optFns, addOperationListFileSharesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListFileSharesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListFileShares ( ctx context . Context , params * ListFileSharesInput , optFns ... func ( * Options ) ) ( * ListFileSharesOutput , error ) { if params == nil { params = & ListFileSharesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListFileSharesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListFileSharesOutput ) out . ResultMetadata = metadata return out , nil }
Gets a list of the file shares for a specific file gateway, or the list of file
shares that belong to the calling user account.
Gets a list of the file shares for a specific file gateway or the list of file shares that belong to the calling user account .